Skip to content

Commit 30a2568

Browse files
author
Tom Lord
committed
Added control character support
1 parent 037390a commit 30a2568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ or a huge number of possible matches, such as `/.\w/`, then only a subset of the
3636
* Including named groups, e.g. `/(?<name>group)/`
3737
* ...And backreferences(!!!), e.g. `/(this|that) \1/` `/(?<name>foo) \k<name>/`
3838
* Groups work fine, even if nested! e.g. `/(even(this(works?))) \1 \2 \3/`
39+
* Control characters, e.g. `/\ca/`, `/\cZ/`, `/\c9/`
3940
* **Arbitrarily complex combinations of all the above!**
4041

4142
## Not-Yet-Supported syntax
@@ -48,7 +49,6 @@ I plan to add the following features to the gem, but have not yet got round to i
4849
* Escape sequences, e.g. `/\xa1/`
4950
* Unicode characters, e.g. `/\u06E9/`
5051
* Named properties, e.g. `/\p{L}/` ("Letter"), `/\p{Arabic}/` ("Arabic character"), `/\p{^Ll}/` ("Not a lowercase letter")
51-
* Control characters, e.g. `/\cA/` ... `/\cZ/`
5252
* Subexpression calls, e.g. `/(?<name> ... \g<name>* )/` (Note: These could get _really_ ugly to implement, and may even be impossible, so I highly doubt it's worth the effort!)
5353

5454
## Impossible features ("illegal syntax")

0 commit comments

Comments
 (0)