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.
In reply to Re^7: Regex Optional capture doesn't (updated)
by NetWallah
in thread Regex Optional capture doesn't
by NetWallah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |