in reply to Re^2: Regexp parses only first line correctly
in thread Regexp parses only first line correctly
Even better might be
Update: Getting a regex in there that matches all possible (legal) path specifications is more complicated than what I have here. Usual advisories about "know your data" apply.\s+ \w+: \s /\w*(?:/\w+)* \s+ # host, partition
|
---|