Hello everyone, I'm trying to implement the following regular expression with a lookbehind:
$e1 = ','; $aye =~ s/(?<!($e1))\s/\n/g; So this expression replaces spaces with newlines except when they are immediately preceded by a comma. But when I change $e1 = ',|R\.' (English: comma or "R."), I get "Variable length lookbehind not implemented in regex" But I'm not trying any variable length stuff! I get the same error if I try $e1 = ",|R\."; I thought a period is something you need to escape, which I'm doing! Any ideas? Thanks! Boris -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>