[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regexp



Quoting "Immanuel Litzroth":
> if I try
> (regexp-match (regexp "a*") "aaaa")
> Mzscheme v. 103 returns
> ("") (on HP-UX and Windows95)

I double-checked with Immanuel, and it appears that the problem was a
typo somewhere along the way.

 Welcome to MzScheme version 103, Copyright (c) 1995-2000 PLT (Matthew Flatt)
 > (regexp-match (regexp "a*") "aaaa")
 ("aaaa")

which is the correct and expected behaviour.

Matthew