The three use simpler regexen, so they run faster. A particular drain on your combined regex is the ".*" (dot-star) you use to join the interesting ones. Each will cause the regex to match to the end of the line, then backtrack to find the following fixed text. ".*?" would be a faster joining regex.
See Ovid's Death to Dot Star!
After Compline,
Zaxo
In reply to Re: Regex, capturing variables vs. speed
by Zaxo
in thread Regex, capturing variables vs. speed
by albert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |