URL: <https://savannah.gnu.org/bugs/?68510>
Summary: Regression: cflags no longer works when given both a
character class and a defined character
Group: GNU roff
Submitter: barx
Submitted: Sat 11 Jul 2026 10:13:18 AM CDT
Category: Core
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 11 Jul 2026 10:13:18 AM CDT By: Dave <barx>
This is a regression since groff 1.24.0.
$ cat test.roff
.char \[asterisk] *
.class [EOS-transparent] %
.cflags 32 \C'[EOS-transparent]' \[asterisk]
.
Foo.\[asterisk]
Bar.
$ groff-1.24 -Tascii test.roff | cat -s
Foo.* Bar.
$ groff-latest -Tascii test.roff | cat -s
Foo.* Bar.
This is the simplest I could make the input to get the test to fail. If I
omit the character class and apply cflags only to the defined character, it
works. If for the defined character I substitute a bare asterisk, it works.
The combination above seems to be required to demonstrate the failure.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68510>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
