forked from nodejs/nodejs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixture: make the logic of both non-English and English characters fi…
…ltering with the same logic (nodejs#2570) 1. We should make sure that either your English anchor name or non-English anchor name is filtered with the same logic, for non-English characters, we should also include mid-spaces filtered out. 2. Move the ANCHOR_COMMENTREG out of the scope as the global-based one. 3. Remove the 'g', because it will remember the lastIndex where it began to search for the last time.
- Loading branch information
Showing
2 changed files
with
34 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters