Zeus Regex Replace

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
Posts: 6
Joined: Wed Jun 01, 2005 8:58 pm

Zeus Regex Replace

Post by ntitan »

I'm trying to do a regex replace in Zeus.

Find What: \$blk(\d+)
Replace With: \$blk{'$1'}

how do I get the result of (\d+), and use it in my replace if I dont use $1?

Site Admin
Posts: 2461
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Zeus uses the Unix/Perl style of regular expression. I am not sure what style of regular expression you are using but it is not the Unix style :(

But I think I can see what your regular expression is trying to do.

Assume we have this code:

Code: Select all

Using this find text \$blk(\d+) and this replace text $blk(\1) a search and replace converts the code to:

Code: Select all

Is this the search/replace you where trying to achieve :?:

Post Reply