Re: Support for leftmost-shortest matches in EREs in POSIX-2024

2024-08-20 Thread Paul Eggert
On 2024-08-19 16:36, Ed Morton wrote: so - what are the plans, if any, for supporting that functionality? I don't know of any plans. It'd be nontrivial to add the functionality. We'd like to have it of course.

Re: Support for leftmost-shortest matches in EREs in POSIX-2024

2024-08-20 Thread Bruno Haible
Ed Morton wrote: > I asked in the bug-gawk mailing list (see > https://lists.gnu.org/archive/html/bug-gawk/2024-08/msg00026.html) > if/when GNU awk would support the `.*?` ERE construct described in the > latest POSIX spec > (https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap09.h

Support for leftmost-shortest matches in EREs in POSIX-2024

2024-08-19 Thread Ed Morton
I asked in the bug-gawk mailing list (see https://lists.gnu.org/archive/html/bug-gawk/2024-08/msg00026.html) if/when GNU awk would support the `.*?` ERE construct described in the latest POSIX spec (https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap09.html#tag_09_04_06) as: --