M
maheshpop1
Hi folks,
A little regex problem, need a lil help with the solution. I tried and
might have missed out something here.
STRING:
O 2005-06-14 14:43 +0000 pop commain/com/testdata =All/com/testdata=
/home/user/temp/All/testdata/
Here is the regex
if ($line =~
/(^[O])[\s]*([^+]+)[+][0]+[\s]*([\w]+)[\s]*([^=]+)[\s]*=([^=]+)[\s]*=[\s]*([^
]+)/ ))
Iam trying to capture the data in the paranthesis. however it doesnt
seem to work.
So guys anyone can you just evaluate this. perhaps a fresh look might
capture something that i missed.
cheers
POP.
A little regex problem, need a lil help with the solution. I tried and
might have missed out something here.
STRING:
O 2005-06-14 14:43 +0000 pop commain/com/testdata =All/com/testdata=
/home/user/temp/All/testdata/
Here is the regex
if ($line =~
/(^[O])[\s]*([^+]+)[+][0]+[\s]*([\w]+)[\s]*([^=]+)[\s]*=([^=]+)[\s]*=[\s]*([^
]+)/ ))
Iam trying to capture the data in the paranthesis. however it doesnt
seem to work.
So guys anyone can you just evaluate this. perhaps a fresh look might
capture something that i missed.
cheers
POP.