Skip to content

Escape regex characters before parsing them#13

Merged
Iodine- merged 1 commit intoMoveInc:masterfrom
kraftman:regex-fixes
May 25, 2018
Merged

Escape regex characters before parsing them#13
Iodine- merged 1 commit intoMoveInc:masterfrom
kraftman:regex-fixes

Conversation

@kraftman
Copy link

Search previously parsed search query as regex while highlighting, which would break if the parsed regex wasn't valid.
This escapes all regex special characters to fix highlighting.

Copy link

@Iodine- Iodine- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR

@Iodine- Iodine- merged commit 0ce3722 into MoveInc:master May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants