[cl-ppcre-devel] Bug?

Dave Pawson dave.pawson at gmail.com
Mon Jul 7 09:32:21 UTC 2008


2008/7/7 Edi Weitz <edi at agharta.de>:

>> (defun cleanup (line)
>> "Replace < and & with entities"
>>   (msg (cl-ppcre:regex-replace-all "&" line "&"))
>>   (msg (cl-ppcre:regex-replace-all "<" line "<"))
>>   )
>>

> You're applying REGEX-REPLACE-ALL to LINE in both cases.  You probably
> want to apply it to the result of the first invocation in the second
> case instead.

Oh dear.
Sorry for wasting bandwidth.

Thanks Edi.

regards



-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk



More information about the Cl-ppcre-devel mailing list