Posted 6 years ago by Jason Tobiasz
Version: 13.1.0310
Avatar

Does Actipro support tagged expressions?

1.  Use the following text:

String blah = 'sdfsdf';

2.  Find: '([^']*)'

3.  Replace: @"\1"

I expect the text to change to:

String blah = @"sdfsdf";

 

...or is there some other way to denote tagged expressions on the replace?  I've seen other places use ^.

Comments (3)

Posted 6 years ago by Jason Tobiasz
Avatar

Oh, it uses the form $1 like Javascript.  Is there a way to change this form?

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

Hi Jason,

The "Regular Expression Guide / Language Elements" documentation topic has a "Substutions" section that talks about the supported options.  Sorry you cannot change them however you could allow the user to enter whatever format you want to support and then convert that to our supported format.


Actipro Software Support

Posted 6 years ago by Jason Tobiasz
Avatar

Thanks.

The latest build of this product (v2018.1 build 0342) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.