On 13/10/2023 21.42, Ulrich Mueller wrote: > >> BUGS-LIST ::= [Bb]ugs? #\d+(,? +#\d+)* > > Make this one either "[Bb]ugs? #\d+(,? #\d+)*" (which I'd prefer) > or "[Bb]ugs? +#\d+(,? +#\d+)*". That is, same number of spaces in both > locations.
OK, would be hard to define it correctly in the BNF, but will just use {n} syntax to pass the intent, and explain in English what you said here (same amount of spaces between "things", with preferred n=1. >> LAST-RITE ::= Removal on {DATE}[.,]? +{BUGS-LIST}.? > > Looks good. Adding " *" at the end won't harm, in case someone will > leave spurious whitespace at the end of the line. Well, earlier we prohibit trailing whitespace, so it would indeed bring harm xD > Ulrich -- Arthur Zamarin arthur...@gentoo.org Gentoo Linux developer (Python, pkgcore stack, Arch Teams, GURU)
OpenPGP_signature.asc
Description: OpenPGP digital signature