As you probably guessed, it wasn't a serious proposal but just a bit of noodling around for fun, finding out what could be achieved. I think Herkum stated in this thread that if you wanted to match an exact literal then the eq comparator would be quicker than firing up the regex engine. That is how I would probably attack it in the real world.
Cheers,
JohnGG
In reply to Re^5: howto make a very long IF statment shorter
by johngg
in thread howto make a very long IF statment shorter
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |