My code in Re^3: string functions (in valavanp's original thread) gets to the same results - so we have both understood our fellow monk incorrectly (?) but in the same way :)
in reply to Re: regex and string functions help needed.
in thread regex and string functions help needed.
Update: So, valavanp, it would really help if you could spell out for us step by step how you arrive at your expected values ...
Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.