in reply to Re^6: Regex Optional capture doesn't (updated)
in thread Regex Optional capture doesn't
Thanks for your tip on "use re 'debug'".
It shows that the RE gets confounded by the <Unwanted> tag.
Removing that tag allows the regex to capture both items I want.
However, this is not an option while I'm parsing the log.
All power corrupts, but we need electricity.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Regex Optional capture doesn't (solved !)
by LanX (Saint) on Oct 05, 2017 at 18:07 UTC | |
by NetWallah (Canon) on Oct 05, 2017 at 18:33 UTC |