in reply to regex match only outside the double quotes
s/("[^"]*")|^--.*\n|(--).*/$1||$2||""/egm;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regex match only outside the double quotes
by SuicideJunkie (Vicar) on Aug 21, 2009 at 13:24 UTC | |
by JavaFan (Canon) on Aug 21, 2009 at 13:27 UTC | |
by SuicideJunkie (Vicar) on Aug 21, 2009 at 18:55 UTC | |
by JavaFan (Canon) on Aug 21, 2009 at 22:58 UTC |