in reply to Regexp parses only first line correctly
(no character class needed, and note '*' quantifier). Change the first line of your regex to\/\w*
and it will work (at least it does here).\s+ \w+: \s \/\w* \s+ # host, partition
Updated: added bit to note change in quantifier relative to OP.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Regexp parses only first line correctly
by NetWallah (Canon) on Aug 16, 2008 at 19:22 UTC | |
by broomduster (Priest) on Aug 16, 2008 at 19:38 UTC |