in reply to Re: Re: Re: Regular expressions
in thread Capturing text between literal string delimiters (was: Regular expressions)

That would be nice but unfortunately it gives this incorrect output

You are right, I recognized that too, after posting. But there are many ways to trim the leading and following white space characters from a string. ie. map { s/^\s*|\s*$//g } @result; would do the trick.

--
Alper Ersoy