Peter Gordon wrote:
> How about the following - at least it looks symmetric.
>
> $str =~ s{<td.*?>\K(.+?)\L</td>}{htmlify()}egx;
>
> \L would perform a function similar to \K, only forward looking

I vote +1 for a backslash sequence for lookahead, agreed :-)
That being said, \L is "Lowercase till \E" (check out perldoc 
perlrebackslash, we don't have many options :)).

  ~Y
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to