[cl-ppcre-devel] Typo in documentation string for parser function GROUP?

Edi Weitz edi at agharta.de
Wed Aug 3 21:11:06 UTC 2005


On Wed, 3 Aug 2005 11:37:50 -0700, Derek Peschel <dpeschel at eskimo.com> wrote:

> I only have version 1.2.10.  Since the change log for 1.2.11 doesn't
> mention this problem, I assume it hasn't been fixed yet.
>
> In parser.lisp, the documentation string for function GROUP starts
> out
>
>   "Parses and consumes a <group>.
> The productions are: <group> -> \"(\"<regex>\")\"
>                                 \"(?:\"<regex>\")\"
>                                 \"(?<\"<regex>\")\"
>
> But shouldn't the last line read
>
>                                 \"(?>\"<regex>\")\"
>
> ? After all, (?< tokens always have something else after the angle
> bracket.

Yes, that's obviously a typo.  Will be fixed in the next release.

Thanks,
Edi.



More information about the Cl-ppcre-devel mailing list