Hmm, so that's better than a split/grep/map solution? Why try to do something with one very complicated regex (well you use two) when breaking the task down into small chunks can make it easy to do, easy to understand, easy to debug, easy to maintain.....
In reply to Re^2: Okay, I know why is it failing
by tachyon-II
in thread This regular expression has me stumped
by tsk1979
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |