in reply to regexp exclude a string

$headache++
$myTime--
$problem->{description}--
...

perl -e '$/=""; map {$c=0; $file=$_; open FH,$file; $_=<FH>; 1 while m +/(?:green red blue)|(?:(green|red|blue)(?{$c++}))/g; close FH; print + "$file matchs!\n" if $c } glob("*")'
perl -Te 'print map { chr((ord)-((10,20,2,7)[$i++])) } split //,"turo"'

Replies are listed 'Best First'.
Re^2: regexp exclude a string
by Murcia (Monk) on Jan 19, 2006 at 15:27 UTC
    $headache++ # take a asperine $murciaTime++ $problem->{description}-- # how to do it better? #... #Thanks!