Steve, when a RegEx match occurs in the Log Monitor report the "Type" column shows "$1" for the match. Is that expected?
Announcement
Collapse
No announcement yet.
Log Monitor Report when using RegEx
Collapse
X
-
Originally posted by mterry63 View PostThat works, thanks! Still matches but correctly reports "Error" as the type.
Steve
Comment
-
Originally posted by SteveMSJ View Post
I’m not familiar enough with RegEx to know why the replace doesn’t work without the brackets. It doesn’t seem right to me so I think I’ll code a workaround that adds the brackets to the replace if they aren’t there. It should then work either way.
Steve
I was going to change the code to add brackets around the RegEx, if they aren't already there. However, that would remove the flexibility to create the capture group within a more complex expression. I have therefore not altered the code but added a note to the guide.
If you use simple search words and phrases, leaving the RegEx box unticked, then the plug-in handles the highlighting automatically anyway.
Steve
Comment
Comment