]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/regexp/combinators/combinators-tests.factor
regexp: one R/ syntax to rule them all, simpler this way.
[factor.git] / basis / regexp / combinators / combinators-tests.factor
index 23583bdf26a91907528a039be70679d9a9a6b7bc..cbc1fb389380eb49bb795debd768f35fb7e35cde 100644 (file)
@@ -10,7 +10,7 @@ IN: regexp.combinators.tests
 { f f f } [ "food" "ibar" "ba" [ strings matches? ] tri@ ] unit-test
 
 : conj ( -- regexp )
-    { R' .*a' R' b.*' } <and> ;
+    { R/ .*a/ R/ b.*/ } <and> ;
 
 { t } [ "bljhasflsda" conj matches? ] unit-test
 { f } [ "bsdfdfs" conj matches? ] unit-test