Lisp HUG Maillist Archive

find-regexp-in-string syntax?

I don't see any documentation for the regex syntax for v4.4's new 
find-regexp-in-string. It's clearly not PCRE, since it doesn't even 
allow parenthesis.

Why would Xanalys add a non-PCRE-compatible regex matcher? Seems rather 
pointless.

  - Stoney


Re: find-regexp-in-string syntax?

On Dec 10, 2004, at 4:46 PM, Stonewall Ballard wrote:

> I don't see any documentation for the regex syntax for v4.4's new 
> find-regexp-in-string. It's clearly not PCRE, since it doesn't even 
> allow parenthesis.
>

If you execute "Find Source" on LISPWORKS:FIND-REGEXP-IN-STRING you'll 
discover it is defined in the editor source included in the 
distribution. So I assume it uses the same regex syntax as the editor 
which is described in section 3.20.0 of the editor manual. Parenthesis 
are allowed with \( and \).

Best,

John DeSoi, Ph.D.


Updated at: 2020-12-10 08:54 UTC