bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] bug - slash in regexp with character classes


From: arnold
Subject: Re: [bug-gawk] bug - slash in regexp with character classes
Date: Wed, 08 Jul 2015 09:03:35 -0600
User-agent: Heirloom mailx 12.4 7/29/08

Hi.

Janis Papanagnou <address@hidden> wrote:

> Is this a known issue...?
>
> $ awk '/[/[:alnum:]]/'
> # okay
>
> $ awk '/[[:alnum:]/]/'
> awk: cmd. line:1: error: Unmatched [, [^, [:, [., or [=: /[[:alnum:]/
>
> $ awk --version
> GNU Awk 4.1.2, API: 1.1 (GNU MPFR 3.1.0-p3, GNU MP 5.0.2)

Yes, this is whey 4.1.3 was released. You should move to it.

Thanks,

Arnold



reply via email to

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