Or whatever's appropriate instead of \S.if (m{"(/[^"]+)"|(/\S+)}) { my $match = defined $1 ? $1 : $2; ... }
Update: Fixed slashes
In reply to Re^3: dumb regex question
by ikegami
in thread dumb regex question
by linuxfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |