Skip to content

waitfor doesn't accept regex expression with string option ! #31

Description

@pommechocolat

I wonder to know why the prompt with string option is write with Regexp.quote(options["String"]) ? It is impossible to give a regex to control the end of waitfor.

This might be correct if the "String" option was treated as a regular expression like this: Regexp.new( options["String"] ). Just remove the Regexp.quote().

I am right ? Is there other solution to control the prompt with a regex ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions