re-enable literal syntax for regexps
parent
239bfeafda
commit
f5adb971f6
|
@ -57,6 +57,8 @@ IN: regexp-tests
|
|||
|
||||
[ t ] [ "/" "\\/" <regexp> matches? ] unit-test
|
||||
|
||||
[ t ] [ "a" R' a'i matches? ] unit-test
|
||||
|
||||
[ t ] [ "" "a|b*|c+|d?" <regexp> matches? ] unit-test
|
||||
[ t ] [ "a" "a|b*|c+|d?" <regexp> matches? ] unit-test
|
||||
[ t ] [ "c" "a|b*|c+|d?" <regexp> matches? ] unit-test
|
||||
|
|
|
@ -129,8 +129,6 @@ IN: regexp
|
|||
: option? ( option regexp -- ? )
|
||||
options>> key? ;
|
||||
|
||||
USE: multiline
|
||||
/*
|
||||
M: regexp pprint*
|
||||
[
|
||||
[
|
||||
|
@ -139,4 +137,3 @@ M: regexp pprint*
|
|||
case-insensitive swap option? [ "i" % ] when
|
||||
] "" make
|
||||
] keep present-text ;
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue