Follow-up Comment #8, bug #66438 (group groff): @Branden: Out of curiosity and eagerness to learn: Why do you wrap the range expressions into bracket expressions, like this?
[[0-9]][[0-9]]*\.[[0-9]][[0-9]]*\.[[0-9]][[0-9]]*
It seems a bit redundant to me, as this shorter version also matches for me at
least:
'[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*'
I tried to find out myself and read through the corresponding parts in the
POSIX standard document you linked at (thank you! I remembered seeing a
reference to it somewhere in the groff repo...), but was not able to spot
anything to that end.
If you'd chosen to use character class expressions, like [:digit:], the
wraping brackets would be necessary, though...
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66438>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
