Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: The greedy change-making problem using regexesby demerphq (Chancellor) |
on Mar 10, 2005 at 07:46 UTC ( [id://438177]=note: print w/replies, xml ) | Need Help?? |
Personally I would avoid the 1{10} stuff. For two reasons, first is that 1{10} is less efficient to match than "1" x 10, and second reason is that the speed of the regex once my trie patch gets applied will be massively faster as without the curlies it will be optimised and with them it wont. :-)
--- demerphq
In Section
Meditations
|
|