bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Strange matching behavior


From: Aharon Robbins
Subject: Re: [bug-gawk] Strange matching behavior
Date: Mon, 13 Oct 2014 11:05:04 +0300
User-agent: Heirloom mailx 12.5 6/20/10

> > The "[." is seen as the opening characters in a POSIX collating sequence.
> > If you remove the "." or swap the order of the "." and the "*", it
> > works as expected.
> > 
> > So, it's not really a bug after all.  The error message is not as helpful
> > as it could/should be, but that's from the GLIBC regex code, and the
> > error of unmatched [ or [^ is returned in a lot of cases.
>
> Of course, that makes perfect sense. I totally forgot about collating
> sequences. Thanks!

So did I.  That's why I needed to use the debugger to find it. I
have updated the error message to be more helpful.

Thanks,

Arnold



reply via email to

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