And if you just want to know the maximum string of consecutive !
$max = ( sort {$b<=>$a} map{length} /(!{2,})/g )[0];
In reply to Re^3: Tracking consecutive characters
by tachyon
in thread Tracking consecutive characters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |