diff options
Diffstat (limited to 'test.icl')
-rw-r--r-- | test.icl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,9 +2,9 @@ module test import StdEnv import Regex -import StdMaybe +import Data.Maybe -Start = (match rgx "123a123", toString rgx) +Start = map (match rgx) ["hello", "abc"] where - (Just rgx) = toRegex Regex_CASELESS "[a-z]\\d+" + (Just rgx) = toRegex 0 "^a[[:alnum:]]" |