Flexible regular expressions constructor for Golang.
Full Changelog: https://github.com/hedhyw/rex/compare/v0.4.1...v0.6.0
Full Changelog: https://github.com/hedhyw/rex/compare/v0.4.1...v0.5.0
minor documentation change
Support edge markers:
symbol | description | Suggestion |
---|---|---|
\A | at beginning of text | Chars.BeginOfText() |
\b | at ASCII word boundary (\w on one side and \W, \A, or \z on the other) | Chars.ASCIIWordBoundary() |
\B | not at ASCII word boundary | Chars.NotASCIIWordBoundary() |
\z | at end of text | Chars.EndOfText() |
Raw
should not be verbose
raw regular expression with comments
Number range helper
First release