Regex issues after upgrading from 2014.1 to 2016.1

SyntaxEditor for WPF Forum

Posted 2 years ago by SvenG - VIPA
Version: 16.1.0636
Platform: .NET 4.5
Environment: Windows 7 (64-bit)
Avatar

After upgrading from 2014.1 to 2016.1 636 some of our regexes are not longer working properly. They now include results on multiple lines, whereas in the previous version it stopped and looked only in one line. Has the behavior of the regex engine changed?

I looked through the changelogs and documentation but couldn't find a hint there. 

Comments (2)

Answer - Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

In early 2016, we had this item:

Updated the regular expression engine to properly treat the \s character class as including line terminators.

I wonder if that's what you are running into?


Actipro Software Support

Posted 2 years ago by SvenG - VIPA
Avatar

This is exactly our problem as we are heavily using \s* in our regexes. Will change that to include line terminators explicitly.
Thank you very much for the fast response !

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.