diff options
author | Camil Staps | 2016-06-22 23:32:00 +0200 |
---|---|---|
committer | Camil Staps | 2016-06-22 23:32:00 +0200 |
commit | f0db4afe755bb837d63f561978687328596ac7aa (patch) | |
tree | bf47f6b1d08a9945d303fb145985c22d7bd16bcf /test.icl | |
parent | Matching works (diff) |
Switch to posix; minimal working version
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:]]" |