in reply to regexp: ?<=
why not just use:
/\t\w+/
For cases where you're using it in a substitution operator (s///). The tab won't get included in the substitution.
what is $& ?
See perldoc perlvar for explanations of all of Perl's special variables. $& is the part of your string which matched the regex.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|