Garrett Wollman via austin-group-l at The Open Group wrote in
 <[email protected]>:
 |<<On Wed, 25 Sep 2024 09:15:24 +0100, "Geoff Clare via austin-group-l \
 |at The Open Group" <[email protected]> said:
 |
 |> Looks like a bug in perl.
 |
 |Perl is the *origin* of "non-greedy" REs.  To the extent any other
 |implementation disagrees with what Perl did 25 years ago, either that
 |implementation is wrong, or there was no consensus among
 |implementations and it should not have been standardized.

The ungreedy/minimal modifier is the only possibility to get
certain constructs done.  Via regular expressions.  And at all.
Let's just hope Dag-Erling gets libtre sound again, Norway has the
gas and oil (but use dirty battery cars), the Fins only forest.
(Maybe.)

In 2013 the situation was a bit different from my point of view,
and i would not have imagined that for example GNU would not have
adopted the REG_UNGREEDY/REG_MINIMAL flag eleven years later.
I would have expected that the BSDs simply take libtre, except for
just today (ha!), where a tremendous regex bug in the FreeBSD
library was fixed, not much has been invested in the maintenance
of the BSD regex in the past decade, and it was exactly like this
a decade ago.

 |-GAWollman
 --End of <[email protected]>

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

    • Re: [10... Niu Danny via austin-group-l at The Open Group
    • Re: [10... Niu Danny via austin-group-l at The Open Group
      • Re:... Geoff Clare via austin-group-l at The Open Group
        • ... Niu Danny via austin-group-l at The Open Group
          • ... Geoff Clare via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
    • Re: [10... Steffen Nurpmeso via austin-group-l at The Open Group
      • Re:... Geoff Clare via austin-group-l at The Open Group
        • ... Harald van Dijk via austin-group-l at The Open Group
        • ... Garrett Wollman via austin-group-l at The Open Group
          • ... Steffen Nurpmeso via austin-group-l at The Open Group
          • ... Geoff Clare via austin-group-l at The Open Group
            • ... Geoff Clare via austin-group-l at The Open Group
        • ... Steffen Nurpmeso via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
    • Re: [10... Niu Danny via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to