README.md in regexp-examples-0.0.2 vs README.md in regexp-examples-0.1.0
- old
+ new
@@ -27,18 +27,17 @@
* All forms of repeaters (quantifiers), e.g. `/a*/`, `/a+/`, `/a?/`, `/a{1,4}/`, `/a{3,}/`, `a{,2}`
* Boolean "Or" groups, e.g. `/a|b|c/`
* Character sets (inluding ranges and negation!), e.g. `/[abc]/`, `/[A-Z0-9]/`, `/[^a-z]/`
* Escaped characters, e.g. `/\n/`, `/\w/`, `/\D/` (and so on...)
-* Capture groups, and backreferences(!!), e.g. `/(this|that) \1/`
-* Arbitrarily complex combinations of all the above!
+* Capture groups, including named groups and backreferences(!!), e.g. `/(this|that) \1/` `/(?<name>foo) \k<name>/`
+* Non-capture groups, e.g. `/(?:foo)/`
+* '''Arbitrarily complex combinations of all the above!'''
## Not-Yet-Supported syntax
I plan to add the following features to the gem (in order of most -> least likely), but have not yet got round to it:
-* Non-capture groups, e.g. `/(?:foo)/`
-* Named capture groups, e.g. `(?<name>bar)/`
* Throw exceptions if illegal syntax (see below) is used
* POSIX bracket expressions, e.g. `/[[:alnum:]]/`, `/[[:space:]]/`
* Options, e.g. `/pattern/i`, `/foo.*bar/m`
* Unicode characters, e.g. `/\p{L}/`, `/\p{Arabic}/`