garysieling / garysieling/jquery-highlighttextarea
Regular expression problem in words array
Open
- Dominant language
- JavaScript
- Stars
- 157
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Description
I am getting an error: Uncaught SyntaxError: Invalid regular expression:
words: ['my string here'] here which contains special characters in my string that caused problem of this.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the invalid regular-expression error with the reported words array containing special characters, then trace how the words array is converted into a regular expression. Done means such input no longer raises the reported SyntaxError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100