[cl-ppcre-devel] missing replacement

Hans Hübner hans.huebner at gmail.com
Thu Apr 14 17:07:59 UTC 2011


On Thu, Apr 14, 2011 at 6:51 PM, Mario Maio <mario.maio at 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




More information about the Cl-ppcre-devel mailing list