Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since we are building the regex with `new RegExp`, the escapes must be double-escaped. Instead of `\.` to esape the period, we need `\\.`. Because that was not done, we were simply checking for *any* character, instead of a literal period.
- Loading branch information