in reply to Re^2: dumb regex question
in thread dumb regex question
Or whatever's appropriate instead of \S.if (m{"(/[^"]+)"|(/\S+)}) { my $match = defined $1 ? $1 : $2; ... }
Update: Fixed slashes
In Section
Seekers of Perl Wisdom
in reply to Re^2: dumb regex question
in thread dumb regex question
Or whatever's appropriate instead of \S.if (m{"(/[^"]+)"|(/\S+)}) { my $match = defined $1 ? $1 : $2; ... }
Update: Fixed slashes