in reply to Decompose a String into Tuples (Faster and Compact Way)
Updated, but still untested.sub decomp_str { # Capture three starting with alpha, but advance only one [$_[0] =~ /(?=([a-z]\s*(?:\S+\s*){2}))\S+\s*/gi ] }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Decompose a String into Tuples (Faster and Compact Way)
by neversaint (Deacon) on Oct 16, 2005 at 03:50 UTC | |
by Roy Johnson (Monsignor) on Oct 16, 2005 at 13:43 UTC |