in reply to Re: Re: Regular Expressions: Call for Examples
in thread Regular Expressions: Call for Examples

That segfaults for me on 5.005_03, and 5.6.0, but not on 5.6.1 or 5.8.0. It seems to be fixed between 5.7.0 and 5.7.1. The former segfaults, the latter doesn't.

Abigail

  • Comment on Re: Regular Expressions: Call for Examples

Replies are listed 'Best First'.
Re: Re: Regular Expressions: Call for Examples
by japhy (Canon) on Jul 22, 2002 at 14:52 UTC
    It died on my 5.6.1, but no matter -- just introduce some $1 in there, and it breaks on everything I have (5.8 included):
    "japhy" =~ m{ ( . (?{ "perl" =~ /(.)/; print $1 }) . ) (?{ print $1 }) }x

    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a job (NYC-area)
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;