Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-04-17 09:36:15 -0700 (Sun, 17 Apr 2005)
Revision: 866
Log message:
This appears to be working, so after some clean up I'll commit it.
TODO: add "earliest-match" arguments so that we can do searching
in linear time.
NOTE: This doesn't include StepIII in Aleksey's description (bug #315),
because I don't understand the need for it.
The consequences are that the semantics are last-match. For example:
match $'fooXbooXmooXgoo'
case $'\((\(.*\)X)*\)'
println($(string $*))
prints
fooXbooXmooX moo
Changes | Path |
+1 -1 | libmojave-branches/lexer_args_correction/util/lm_lexer.ml |
+56 -0 | omake/tests/regex/Test |