Update: changed a [...] I had missed into (?:...).$x = 'o\&a.sysadm'; if ($x =~ m/^(\w+(?:\\\&)?-?\w*)\.((?:\w+\\?(?:\\\&)?-?\w*\.?)+)/i){ $client = $1; $project = $2; }
-- Mike
--
just,my${.02}
In reply to Re: Regex confusion
by thelenm
in thread Regex confusion
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |