-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
find/glob: Don't use
$.
as a non-matching regex
The oniguruma version built by onig_sys does not include the commit 6f7b0aa ("add ONIG_SYN_BRE_ANCHOR_AT_EDGE_OF_SUBEXP into ONIG_SYNTAX_POSIX_BASIC and ONIG_SYNTAX_GREP"), causing `$.` to actually match a literal newline. Using `$.` is not portable anyway; POSIX says > A <dollar-sign> ( '$' ) shall be an anchor when used as the last > character of an entire BRE.
- Loading branch information
1 parent
abf851d
commit 4be8be2
Showing
1 changed file
with
31 additions
and
21 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