View Single Post
Old 05-04-2023, 08:38 AM   #611
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Yes, I was thinking of doing something like that. Would make adding new patterns a bit tricky. But I'm not going for every possible variation, just the most common ones.
Using regex alternation (or) is much faster than doing sequential checks. And there is nothing to prevent you from adding another check if fitting into alternation is too hard.
chaley is offline   Reply With Quote