[plt-scheme] Possible bug in regexp?

From: Todd O'Bryan (toddobryan at gmail.com)
Date: Tue Apr 27 08:52:53 EDT 2010

Any news on the small example Jay identified?

Todd

------------------------------------------------------------
What's odd is that

(regexp-match?
       #rx"^\"([^\"#\u0000]| |#\return#\newline|#\tab|\\\\\")*\"$"
       "\")!\"")

succeeds, but

(regexp-match?
       #rx"^\"([^\"#\u0000-#\u0000]| |#\return#\newline|#\tab|\\\\\")*\"$"
       "\")!\"")

and

(regexp-match?
       #rx"^\"([^\"#\u0000-#\u0001]| |#\return#\newline|#\tab|\\\\\")*\"$"
       "\")!\"")

fail.
-------------------------------------------------------------


Posted on the users mailing list.