Undoing/Redoing Replacements

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.

196

Page 218
Image 218
Slick V3.3 manual Undoing/Redoing Replacements