To understand Corion's code you need to read and understand the regular expression documentation Corion pointed you to earlier in the thread. Regular expressions aren't amenable to "break your code down a bit" in the way you mean. They are a powerful language in their own right and learning how to use regular expressions is an important part of using Perl well. Read back through this thread and pay special attention to the bits you skimmed the first time through.
In reply to Re^11: How can I expand my substring?
by GrandFather
in thread How can I expand my substring?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |