Not saying Regex is best. I was always under the impression that it was.
Now, I tell you, Regex is great for picking out things. Instead of mucking around with seperating this or that with gettok or something, I can find it a lot easier with Regex.
I tested it for speed against isin and $left and it was the slowest. I always considered "isin" to not be the best way to compare, but it did way better than regex. Well, relatively.
2714 - $iif($regex(love.heyhey,/love/),yes,no)
2453 - $iif(love isin love.heyhey,yes,no)
2654 - $iif($left(love.heyhey,5) == love.,yes,no)
So what do you think is a good reason to use Regex? Is it a superior way to match information?
I was always under the impression that it was faster. I think I am wrong in that.