-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #2907: Allow Escaped % in String Format Match
For example, the format '%%d' should match the string literal '%d'. We achieve this by using negative lookbehind (http://php.net/manual/en/regexp.reference.assertions.php) when constructing the regex pattern that we will match against.
- Loading branch information
1 parent
1e78561
commit 694dec1
Showing
2 changed files
with
19 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