On 3/22/07, Boga Srinivas <[EMAIL PROTECTED]> wrote:
snip
$str =~ /hello:\s0(.*)hello:\s1/;
snip
Contrary to popular opinion . does not match all characters by
default. To get it to match \n you must use the s option with your
regex like this
$str =~ /hello:\s0(.*)hello:\s1/s;
--
To unsubscr
Hi Srini, you're going to want to add an s to the end of your regex,
$str =~ /hello:\s0(.*)hello:\s1/s;
This will cause the . in your regex to match newlines which it
normally does not.
-Jason
On 3/22/07, Boga Srinivas <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to capture the data between 2