You want to read Mastering Regular Expressions by Jeffrey E.F. Friedl. He dedicates chapters to this, and it's an excellent book.
In reply to Re: How do I optimize a regular expression?
by rjberry
in thread How do I optimize a regular expression?
by kyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |