| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
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 symbol naming this operator is also exported from the regexp package.
See The new regexp2 module in regexp.htm for further information on this function and the regexp2 module.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |