[bese-devel] parenscript regexps
Marijn Haverbeke
marijnh at gmail.com
Tue Jun 13 14:13:07 UTC 2006
It seems that the UCW version of parenscript adds slashes to it's argument
when printing it. This is contrary to what the parenscript manual says ("The
regex
form actually does nothing at all to its argument, and prints it as is."),
and makes it impossible to do things like "/bla/i" (case-insensitive
compare). I can't download the latest non-ucw parenscript because that site
(the one linked from CLiki) has been down forever, but the ASDF-install
version of parenscript does not add these slashes.
So think the UCW version shouldn't do that either. Simply a matter of
changing
(defmethod js-to-strings ((regex regex) start-pos)
(declare (ignore start-pos))
(list (format nil "/~A/" (value regex))))
in src/js.lisp and removing the slashes in the string.
Regards,
Marijn Haverbeke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/bese-devel/attachments/20060613/96b253fb/attachment.html>
More information about the bese-devel
mailing list