Jump to content
Sign in to follow this  

[Solved]regular expressions SciTE4AutoIt

Recommended Posts


I find myself needing to append a load of lines of code with some error checking.

I'm not that familiar with anything except simple replace words or lines. I need to ad a few new lines (my error checking) to some funcs.

For example one line is

_FileCreate(@ScriptDir & "\WIP\tmp001.txt")

and another is

_FileCreate(@ScriptDir & "\Complete\tmp002.txt")

You get the idea, its the same func, different paths

I've found that I can use "Transform backslash expressions" to replace a line with the same line and add extra lines making use of "\n"

But I'm (to put it lightly) struggling with a regular expression to match all my function calls (Above)

I'm humbly on the bum for a solution / handout <tramp smiley>


No matter, I fumbled around it

(as usual with regex)

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post

Link to post
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
Sign in to follow this