List Info

Thread: regex not matching exact...




regex not matching exact...
user name
2006-04-06 18:08:33
Hello Everyone,,

I am trying to matching a string which is in the format of
./pro_ones
So i've tried a few things like:

$VAR1 =~ /\.\/w\w\w_\w\w\w\w$/;
and
$VAR1 =~ /^\.\//;
and
$VAR =~ /\.\/\w_\w/;
and 
$VAR =~/\.\/\w*\W\w*/; 

Any Suggestions ? 
Thanks,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---

regex not matching exact...
user name
2006-04-06 19:02:43
oops,,, forgot to state that a large string is contained in
$VAR, which
i am then trying to match the ./pro_ones string which may be
in $VAR

Thanks,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )