in reply to Re^4: Speeding up named capture buffer access
in thread Speeding up named capture buffer access
$re = qr/(?<h1>...)(?<m1>...)(?<s1>...)|(?<h2>...)(?<m2>...)(?<s2>...) +/; $string =~ $re; ( $h, $m, $s ) = ( $1 || $4, $2 || $5, $3 || $6 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Speeding up named capture buffer access
by SBECK (Chaplain) on Dec 01, 2009 at 17:30 UTC | |
by ikegami (Patriarch) on Dec 01, 2009 at 17:56 UTC | |
by SBECK (Chaplain) on Dec 01, 2009 at 18:08 UTC | |
by ikegami (Patriarch) on Dec 01, 2009 at 18:18 UTC | |
by SBECK (Chaplain) on Dec 01, 2009 at 19:29 UTC | |
| |
by JadeNB (Chaplain) on Dec 01, 2009 at 19:34 UTC | |
by SBECK (Chaplain) on Dec 01, 2009 at 20:18 UTC | |
by BrowserUk (Patriarch) on Dec 01, 2009 at 20:42 UTC |