Undoing/redoing replacements, Undoing/redoing, Replacements – Slick EDIT V3.3 User Manual

Page 218

Advertising
background image

SlickEdit regular expression:

Search for: {[0-9]#}
Replace with: $#0

Brief regular expression:

Search for: {[0-9]\:+}
Replace with: $\0

If the minimal matching operator (UNIX +?, SlickEdit and Brief syntax +) was used in the search string in-
stead of the maximal matching operator (UNIX +, SlickEdit syntax #, Brief syntax \:@), the above search
and replace would prefix each digit in the file with a "$" character, which is probably not what you want.

Undoing/Redoing Replacements

To undo a replacement, click Edit

Undo, press Ctrl+Z, or use the undo command. To redo a replace-

ment, click Edit

Redo, press Ctrl+Y, or use the redo command.

To undo replacements in multiple files, click Edit

Multi-File Undo or use the mfundo command. To

redo replacements in multiple files, click Edit

Multi-File Redo or use the mfredo command.

Undoing/Redoing Replacements

196

Advertising