The RegEx SET operator can cause schizophrenia for perfectly healthy expressions
Submitted by Greg on Mon, 2011-05-02 17:50.
Keywords: .NET, professional.
Regular Expressions are a powerful, yet a deceptive text mining tool. There are many pitfalls. One pit that is particularly easy to fall into is that a (sub-)expression can obtain a completely different meaning if it is put within the context of a another (sub-)expression. For instance, using the presumably straight-forward Set operator can be quite tricky..