bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] In Regexps, Extra (Unmatched) Closing Parentheses Does No


From: Wolfgang Laun
Subject: Re: [bug-gawk] In Regexps, Extra (Unmatched) Closing Parentheses Does Not Produce Error Message, Treated Literally
Date: Mon, 10 Jun 2019 15:58:34 +0200

On Mon, 10 Jun 2019 at 15:41, <address@hidden> wrote:

> Wolfgang Laun <address@hidden> wrote:
>
> > gawk maintainers:
> > There might be one argument for indicating an error for an unmatched
> > closing parenthesis: pairs of parentheses can be nested, and this makes a
> > stray ')' easy to overlook. (At least /usr/bin/mawk does this.)
>
> This is down in the guts of the dfa and regex matchers; that code
> comes from GNULIB and isn't easy to modify.  To the point that I won't
> even think about looking into it.
>
It wasn't meant as a suggestion.


> Mawk has its own writen-from-scratch regexp matcher and so can do
> that kind of thing.
>
Even so they weren't overdoing it. I'm inclined to think that it supports
my p.o.v.

-W

>
> Arnold
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]