LogViewPlus Support

Unrecognized escape sequence \_

https://www.logviewplus.com/forum/Topic508.aspx

By v1ktor - 9 May 2020

Not sure if it's a bug or by design, I thought I report it just in case. 

I was adding a filter with regex enabled but LogViewPlus threw an error because I escaped underscores. I know I don't have to escape them, but it shouldn't be a problem regardless. Here's a screenshot (I couldn't upload an image here, it kept inserting broken image).

By LogViewPlus Support - 9 May 2020

Thanks for reporting this issue.  Not sure why you had upload problems.  For future reference, your screenshot image is:


LogViewPlus parses regular expressions using the standard Microsoft .Net library.  This library supports a limited set of predefined escape characters discussed here:
https://docs.microsoft.com/en-us/dotnet/standard/base-types/character-escapes-in-regular-expressions

As you have already discovered - it is not necessary to escape the underscore character.

Hope that helps,

Toby