in reply to Re: High bit bug in RE?
in thread High bit bug in RE?

I'm afraid that that doesn't make any difference; neither does using \xD2 instead. There's a section in the perlre documentation which implies \322 only means a previously captured match if I've got 322 brackets (although I'm possibly misreading it).
Further, using  $a=chr(210); s/.*?$a/yes/; doesn't work either.
However, all the problems go away if I use \177 (ie. 127 decimal) or lower. So there's a definate inconsistency. :-(

Replies are listed 'Best First'.
Re: Re: Re: High bit bug in RE?
by japhy (Canon) on Sep 14, 2001 at 17:24 UTC
    I'm trying to fix this right now. As for why putting the .*? in parens worked, that's because of a failure to optimize that I've now fixed.

    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;