public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* Issue in man page regex.7
@ 2023-11-01 14:02 Helge Kreutzmann
  2023-11-01 16:54 ` Alejandro Colomar
  0 siblings, 1 reply; 6+ messages in thread
From: Helge Kreutzmann @ 2023-11-01 14:02 UTC (permalink / raw)
  To: alx.manpages; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    I<egrep> → B<egrep>(1)

"Regular expressions (\"RE\"s), as defined in POSIX.2, come in two forms: "
"modern REs (roughly those of I<egrep>; POSIX.2 calls these \"extended\" "
"REs)  and obsolete REs (roughly those of B<ed>(1); POSIX.2 \"basic\" REs).  "
"Obsolete REs mostly exist for backward compatibility in some old programs; "
"they will be discussed at the end.  POSIX.2 leaves some aspects of RE syntax "
"and semantics open; \"\\*(dg\" marks decisions on these aspects that may not "
"be fully portable to other POSIX.2 implementations."

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Issue in man page regex.7
@ 2024-11-17 10:46 Helge Kreutzmann
  2024-11-17 11:28 ` Alejandro Colomar
  0 siblings, 1 reply; 6+ messages in thread
From: Helge Kreutzmann @ 2024-11-17 10:46 UTC (permalink / raw)
  To: alx; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    alphabetic? Do you mean alphabet?

"If case-independent matching is specified, the effect is much as if all case "
"distinctions had vanished from the alphabet.  When an alphabetic that exists "
"in multiple cases appears as an ordinary character outside a bracket "
"expression, it is effectively transformed into a bracket expression "
"containing both cases, for example, \\[aq]x\\[aq] becomes \"I<[xX]>\".  When "
"it appears inside a bracket expression, all case counterparts of it are "
"added to the bracket expression, so that, for example, \"I<[x]>\" becomes "
"\"I<[xX]>\" and \"I<[\\[ha]x]>\" becomes \"I<[\\[ha]xX]>\"."

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Issue in man page regex.7
@ 2023-11-01 14:02 Helge Kreutzmann
  2023-11-01 16:46 ` Alejandro Colomar
  0 siblings, 1 reply; 6+ messages in thread
From: Helge Kreutzmann @ 2023-11-01 14:02 UTC (permalink / raw)
  To: alx.manpages; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue 1:  alphabetic?
Issue 2:  multiple cases → both cases?

"If case-independent matching is specified, the effect is much as if all case "
"distinctions had vanished from the alphabet.  When an alphabetic that exists "
"in multiple cases appears as an ordinary character outside a bracket "
"expression, it is effectively transformed into a bracket expression "
"containing both cases, for example, \\[aq]x\\[aq] becomes \"I<[xX]>\".  When "
"it appears inside a bracket expression, all case counterparts of it are "
"added to the bracket expression, so that, for example, \"I<[x]>\" becomes "
"\"I<[xX]>\" and \"I<[\\[ha]x]>\" becomes \"I<[\\[ha]xX]>\"."

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-11-17 11:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-01 14:02 Issue in man page regex.7 Helge Kreutzmann
2023-11-01 16:54 ` Alejandro Colomar
  -- strict thread matches above, loose matches on Subject: below --
2024-11-17 10:46 Helge Kreutzmann
2024-11-17 11:28 ` Alejandro Colomar
2023-11-01 14:02 Helge Kreutzmann
2023-11-01 16:46 ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox