0

Regular expressions are one of the worst aspects of debugging hell. Since they are contained in string literals, It's hard to comment how they work when the expressions are fairly long.
Say I have the following regular expression to match phone numbers
\b\d{3}[-.]?\d{3}[-.]?\d{4}\b
Source: Re...