| Allegro CL version 7.0 This page is new in 7.0. | |||||||||
Arguments: string
This convenience function accepts a string argument and returns a regular expression that matches that string literally, giving no special interpretation usually given to the special characters in regexp string syntax.
This function is implemented by simply returning a tree form regexp, wrapping a :sequence regexp around the argument string.
(regexp:quote-re "()") ==> (:sequence "()") (regexp:match-re "()" "(defun foo () ...)") ==> t "" "" (regexp:match-re (regexp:quote-re "()") "(defun foo () ...)") ==> t "()"
The actual home package of this symbol is the regexp package. It is also exported from (and documented with) the excl package.
See The new regexp2 module in regexp.htm for fuether information on this function and the regexp2 module.
Copyright (c) 1998-2006, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 7.0. This page is new in the 7.0 release.
Created 2005.9.20.
| Allegro CL version 7.0 This page is new in 7.0. | |||||||||