waitfor doesn't accept regex expression with string option !
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 57
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
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 ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the waitfor implementation and the Regexp.quote(options["String"]) call described in the issue. Check how the String option is documented and tested, then confirm whether regex input should be compiled or remain literal. Done means the intended behavior is explicit and covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100