If i try this regexp
(cl-ppcre:regex-replace-all " d {1-3}'" "la presa d 'aria" " d'" :preserve-case t)
I don't get the expected replacement (remove the space before the apostrophe)
"la presa d'aria"
whereas Regex Coach works as expected.
Thanks.
Mario
On Thu, Apr 14, 2011 at 6:51 PM, Mario Maio mario.maio@libero.it wrote:
If i try this regexp
(cl-ppcre:regex-replace-all " d {1-3}'" "la presa d 'aria" " d'" :preserve-case t)
I don't get the expected replacement (remove the space before the apostrophe)
The correct syntax is {1,3}, not {1-3}.
-Hans
cl-ppcre-devel@common-lisp.net