Hi Sébastien!
On Wed, 29 Sep 2004 00:23:50 +0200, Sébastien Saint-Sevin seb@matchix.com wrote:
I think I found a bug when using do-scans :
CL-USER 30 > (setq *scanner* (cl-ppcre:create-scanner "[0-9]-$")) #<closure 2060674A>
CL-USER 31 > (cl-ppcre:do-scans (s e rs re *scanner* "simple string-")) NIL
CL-USER 32 > (cl-ppcre:do-scans (s e rs re *scanner* "simple string 4-")) ==> infinite loop. 100% cpu. memory growing indefinitely.
The same regex with a simple scan is OK :
CL-USER 34 > (cl-ppcre:scan *scanner* "simple string 4-") 14 16 #() #()
Which version of CL-PPCRE (current is 0.8.0) and which Lisp is this? I can't reproduce this problem with CMUCL 19a or AllegroCL 7.0 beta.
Please use the mailing list for bug reports, thanks.
Cheers, Edi.