This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

cl--ppcre multi string

3 posts · 958 views

Whether method to scan multi strings without partion that to separate strings?
eg
TE> (scan-to-strings ".*" "ab
cd")
"ab"
#()
but i want get "ab\ncd"

Re: cl--ppcre multi string

You can use the "(?s)" regex modifier like in Perl or create a scanner with CREATE-SCANNER and set the single-line-mode key argument to true.

Re: cl--ppcre multi string

thnks, it works