bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] 2 questions


From: Eli Zaretskii
Subject: Re: [bug-gawk] 2 questions
Date: Mon, 29 Oct 2012 18:53:27 +0200

> Date: Mon, 29 Oct 2012 13:33:34 +0200
> From: Denis Shirokov <address@hidden>
> Cc: address@hidden
> 
> I found some gawk crashes while processing regular expressions:
> 
> #______________________________________________________________________________
> # CASE 1: Using regular expression with \x80
> 
> BEGIN{
>       t="X\x80YZ"
>       if ( match(t,/\x80/) )  print "MATCH"
>                                       else    print "NOT MATCH" }
> 
> OUTPUT:
> 
> >gawk -f rexp80_1.gwk
> gawk: rexp80_1.gwk:3: fatal: unbalanced )

What version of Gawk is that?

Also, can you post the file rexp80_1.gwk you used to reproduce this?

> >gawk -f rexp80.gwk
> gawk: rexp80.gwk:3: fatal error: internal error

Same request for rexp80.gawk.

> >gawk -f rexp80_2.gwk
> gawk: rexp80_2.gwk:3: fatal error: internal error

And for rexp80_2.gwk.



reply via email to

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