An example and/or explanation of the input data would be helpful. Also, explain what you are actually trying to match on. At first glance, the " characters look wrong as well as the square braces around /home and /mail. Square braces denote a character class meaning any of the enclosed characters can match a single character. Probably not what you intended to do. Please look at the perlre docs.
HTH
In reply to Re: Fiddling around with reg-ex
by pzbagel
in thread Fiddling around with reg-ex
by JoeJaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |