From f0db4afe755bb837d63f561978687328596ac7aa Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 22 Jun 2016 23:32:00 +0200 Subject: Switch to posix; minimal working version --- test.icl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test.icl') diff --git a/test.icl b/test.icl index 5346aca..a89ffe4 100644 --- a/test.icl +++ b/test.icl @@ -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:]]" -- cgit v1.2.3