v0.10.0
Added
-
BEXPattern syntax
:[group\n]
to match rest of line, including line terminator:[group\n$]
to match rest of line, including line terminator (will also match if last line in text with no line terminator)
-
BEXPair interface extends Comparable interface (so elements are comparable, left then right, if the type is comparable
-
BEXString substring method overridden to take IntPair (including IntRange)
-
BEXPairs.bexPair helper method to create a BEXPair (can use static import)
-
IntRange.length method
Changed
- Renamed methods which reference start/end now refer to as range
- BEXMatcher
- BEXMatchResult
- ASTNodeUtilities
Fixed
- In BEXMatcher / BEXMatchResult, throw IllegalStateException if try to get match info if a successful match hasn't occurred yet
- IntBEXRange will throw exception if range is invalid (start and end match and exclusive on both ends, such as
(1, 1)
)