Follow-up Comment #5, bug #66686 (group groff):

This fix did the trick.  Thanks!

My only quibble (and you knew I'd have one) is with the wording of the
warning.

$ echo "Length of 'abc': \w+abc+u" | groff -Tascii -ww | cat -s
troff:<standard input>:1: warning: interpreting character '+' as an escape
sequence delimiter; it is ambiguous because it is also meaningful in a numeric
expression
Length of 'abc': 72u


For the \w escape in particular, there's no ambiguity with an arithmetic +
because the delimited expression is not numeric (and comment #2 points out
that there's no ambiguity even if a \w expression is part of a larger
calculation).  But it appears this warning is generic to any escape that
encounters a + delimiter, and if that's the case, retaining this wording is
probably more robust than special-casing the \w delimiter.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66686>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to