in reply to Tracking consecutive characters
The curlies make a quantifier meaning two or more.$_ = 'Wow!!!!!'; /(!{2,})/ and print length $1; __END__ 5
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tracking consecutive characters
by ikegami (Patriarch) on Sep 27, 2004 at 03:56 UTC | |
by tachyon (Chancellor) on Sep 27, 2004 at 05:41 UTC |