Fixed support for '\cX' regexps: CTRL added to set of possible chars.

This commit is contained in:
Oleg Sukhodolsky
2012-07-11 12:15:49 +04:00
parent 84149f87b0
commit d29f43240c
2 changed files with 17 additions and 0 deletions
@@ -121,6 +121,7 @@ public interface RegExpTT {
ESC_CTRL_CHARACTER,
ESC_CHARACTER,
CTRL_CHARACTER,
CTRL,
UNICODE_CHAR,
HEX_CHAR, BAD_HEX_VALUE,
OCT_CHAR, BAD_OCT_VALUE,
+16
View File
@@ -603,6 +603,22 @@
<pattern>\Q\j\E</pattern>
<expected>OK</expected>
</test>
<test>
<pattern>\c0</pattern>
<expected>OK</expected>
</test>
<test>
<pattern>\C-0</pattern>
<expected>OK</expected>
</test>
<test>
<pattern>\M-0</pattern>
<expected>OK</expected>
</test>
<test>
<pattern>\M-\C-0</pattern>
<expected>OK</expected>
</test>
</escapes>
<anchors>