-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing of
+
and ?
following intervals ...
these characters were wrongly treated as possessive or reluctant mode flags for the interval quantifier. Ruby/Onigmo does not support these modes for intervals, so it treats them as extra, chained quantifiers instead. c.f. #3, #69
- Loading branch information
Showing
6 changed files
with
30 additions
and
29 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 |
---|---|---|
|
@@ -7,6 +7,11 @@ | |
- `#conditional_level`, `#level`, `#nesting_level` , `#set_level` | ||
- this allows a more unified handling with `Expression::Base` instances | ||
|
||
### Fixed | ||
|
||
- fixed interpretation of `+` and `?` following interval quantifiers (`{n,n}`) | ||
- treat as chained quantifiers like Ruby does instead of possessive/lazy mode | ||
|
||
## [2.3.1] - 2022-04-24 - [Janosch Müller](mailto:[email protected]) | ||
|
||
### Fixed | ||
|
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