Would you please provide some notations to the code you just posted ...
I don't have time at the moment, but will try to do so tomorrow.
... simple reference that helps understanding regex with all its tricks ...
Believe me, brother, there ain't no such thing! If there's one thing regular expressions are not, it's simple. (They're also not regular.) The following perldoc and on-line documentation should be helpful: perlre, perlretut, perlreref, perlfaq6, perlrecharclass, perlrebackslash. Jeffrey Friedl's book is excellent – and priced accordingly: Mastering Regular Expressions. See also the Tutorials section of the Monastery.
In reply to Re^3: ERROR ... nested quantifiers in regex
by AnomalousMonk
in thread ERROR ... nested quantifiers in regex
by ŞuRvīvőr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |