Regular Expressions

Should we do RegEx or not?
*pros:
save time and less efforts
less code
*cons:
sometimes heavyweight or involves heavy processing
complicated RegEx hidden bugs, hard to read/write

In a word, we need to balance the pros and cons above before make a descision.
How to parse RegEx?
//TODO:

你可能感兴趣的:(Regular Expressions)