Jump to content

SciTE question


jitb
 Share

Recommended Posts

Hello I’m trying to replace '@@ \(\d{1,4}\) : with '@@ (' & @ScriptLineNumber & ') :'

It doesn’t like the \d{1,4)

image.png.0de51bddc7fedfb1884c92170fc21460.png

Using

image.png.a6ea53f362d3c462f80167a852a9bb60.png

String looking at

               ConsoleWrite('@@ (229) :(' & @MIN & ':' & @SEC & ') _test02()' & @CR) ;### Function Trace

 

Using SciTE

32-bit

Version 4.2.0

    Sep  3 2019 19:04:05

Thank you for you feed back

Link to comment
Share on other sites

As it states in the Scite help file, under Find and Replace: "SciTE supports basic regular expressions with tagging".  The quantifier ({1,3}) syntax is not valid in the Scite Find. 

Try "'@@ \(\d\d?\d?\) :" instead.

Search for "Scite Regular Expressions", in the Scite help file, to see what Scite accepts.

Edited by TheXman
Link to comment
Share on other sites

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...