Page 1 of 1

cl--ppcre multi string

Posted: Thu Sep 02, 2010 4:30 pm
by pseudo-cat
Whether method to scan multi strings without partion that to separate strings?
eg

Code: Select all

TE> (scan-to-strings ".*" "ab
cd")
"ab"
#()
but i want get "ab\ncd"

Re: cl--ppcre multi string

Posted: Thu Sep 02, 2010 10:47 pm
by ramarren
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

Posted: Fri Sep 03, 2010 6:45 am
by pseudo-cat
thnks, it works