Make your system handle the various cases. A regex, a split, an unpack, maybe even an xml parser....
I agree. The simplest solution is to make the caller supply a code reference, which you then call and which does the parsing/matching/unpacking/whatever.
In reply to Re^6: Suggestion for regular expression speed improvement.
by moritz
in thread Suggestion for regular expression speed improvement.
by bala.linux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |