Nested Brackets and Regular Expressions
Recently on the TextMate mailing list Robin Houston generously offered an insightful explanation of matching nested brackets with regular expressions:
If you have ever studied automata theory, perhaps you remember that nested brackets are the classic example of something that can’t be matched by a regular expression. So you might be surprised […]