recursive_regex 0.2.0 recursive_regex: ^0.2.0 copied to clipboard
An implementation of RegExp that isolates delimited blocks of text and applies the pattern to each block separately.
[0.2.0] - March 5, 2021 #
-
[startDelimiter] and [endDelimiter] are now [Pattern]s instead of [RegExp]s, so delimiters can be provided as a [String] or a [RegExp].
-
Added the [prepend] and [append] parameters. If provided, delimited blocks of text will only be matched if they are prepended with or appended with the provided [Pattern].
-
Renamed the [isMultiLine], [isCaseSensitive], [isUnicode], and [isDotAll] parameters to [multiLine], [caseSensitive], [unicode], and [dotAll] respectively, to match the naming convention of Dart's [RegExp] class.
-
Added the [startsWith] and [endsWith] methods.
-
Added the [inverseMatch] parameter.
-
Documentation and formatting changes.
[0.1.0] - August 8, 2019 #
- Initial release.