-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* NEW: Quantifiers are now standardized as follows: https://github.com/3F/regXwild#-quantifiers regex | regXwild | n ----------------|------------|--------- .\* | \* | 0+ .+ | + | 1+ .? | ? | 0; 1 .{1} | # | 1 .{2} | ## | 2 .{2, } | ++ | 2+ .{0, 2} | ?? | 0 - 2 .{2, 4} | ++?? | 2 - 4 (?:.{2}\|.{4}) | ##?? | 2; 4 .{3, 4} | +++? | 3 - 4 (?:.{1}\|.{3}) | #?? | 1; 3 * NEW: Second-order Quantifiers. Added support for `++` regex equivalent `.{n, }` * NEW: Quantifiers. Implemented `++??` support for ranges. Part of PR #7. ``` {n, m} where n > 0 and m > n n == + m == ? ``` * `++??` (2 - 4) * `+???` (1 - 4) * `+++?` (3 - 4) * `+?` (1 - 2) etc. See unit-tests. * NEW: Quantifiers. Implemented `##??` support for ranges. Part of PR #7. ``` {n, m} where n > 0 and m > n n == # m == ? ``` * `##??` (2 | 4) * `#???` (1 | 4) * `###?` (3 | 4) * `#?` (1 | 2) etc. See unit-tests. * FIXED: Fixed rewind in MS-split `|` like for '##'|'####' * FIXED: Fixed errors in second order quantifiers: `?? == .{0, 2}` and `## == .{2}` For example: * False positive matching `[1####_of` for `TV_[11_of_24]` * Crashed `number = '????';` for `number = '123';` * and related. * CHANGED: API versionString() marked as obsolete due to RXWVersion.
- Loading branch information
Showing
6 changed files
with
78 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.2.0 | ||
1.3.0 |
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
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
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