Skip to content

Shorter RegEx in escapeRegExChars #510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2016
Merged

Conversation

stonio
Copy link
Contributor

@stonio stonio commented Jul 6, 2016

  • Removed unnecessary backslash characters.
  • Slash character is not a regex special character and does not need to be escaped.

Reference: https://github.com/sindresorhus/escape-string-regexp/blob/master/index.js

Removed unnecessary backslash characters.
Slash character is not a regex special character and does not need to be escaped.
@stonio stonio changed the title Shorter regex in escapeRegExChars Shorter RegEx in escapeRegExChars Jul 6, 2016
@tkirda tkirda merged commit 264198f into devbridge:master Jul 6, 2016
@stonio stonio deleted the patch-4 branch July 6, 2016 14:54
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.

2 participants