diff options
Diffstat (limited to 'test.icl')
-rw-r--r-- | test.icl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ import StdEnv import Regex import Data.Maybe -Start = map (match rgx) ["hello", "abc"] +Start = map (fromJust o (match rgx zero)) ["hello", "abc", "aXz"] where - (Just rgx) = toRegex 0 "^a[[:alnum:]]" + (Just rgx) = toRegex REG_EXTENDED "^a[a-z]*$" |