Regex are tough enough to read without inserting comments into them. What's wrong with putting a detailed comment block above the regex explaining what/how it does what it does? That's what I do so when I inevitably go back to modify it at a later date, I don't have to 'learn' regex all over again.
In reply to Re: comment inside perl regular expression
by VinsWorldcom
in thread comment inside perl regular expression
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |