Verified Commit ddf3aab8 authored by Camil Staps's avatar Camil Staps 🙂

Test file

parent 1acf139a
CLM:=clm
CLMFLAGS:=\
-I $$CLEAN_HOME/lib/clean-platform/OS-Independent\
-I $$CLEAN_HOME/lib/Generics\
-nt
DEPMODS:=Regex
DEPS:=$(addsuffix .dcl,$(DEPMODS)) $(addsuffix .icl,$(DEPMODS))
EXE:=test
all: $(EXE)
$(EXE): %: %.icl $(DEPS)
$(CLM) $(CLMFLAGS) $@ -o $@
clean:
$(RM) -r Clean\ System\ Files $(EXE)
.PHONY: all clean
module test
from Data.Func import $
import Regex
Start = match rgx string
where
rgx = Concat StartOfString $ Concat (Some False (CharacterClass ['hel'])) $ CharacterClass ['l']
string = ['hello world']
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment