Re: Help required on understanding regular expressionsby Marshall (Monsignor)
|on Feb 20, 2012 at 07:46 UTC||Need Help??|
I don't see why you need to change anything.
Regex in Perl 5.10 is a superset of 5.8.
I modified your code slightly but it will run under both versions.
I think should also run under Perl 5.6.
I see no need here for fancy new features past what has been done for more than a decade.
There are new things that can be done.
But you may not have understood what could have been done in your prior code.
If you must, although without spacing the regex out onto multiple lines, it is harder to understand...