:dd.Matches preceeding or next pattern (a|b, c|d, abc|d). Only one character will be used as pattern unless grouped together using {} or ().
:dt.:hp2.*:ehp2.
:dd.Match zero or more occurances of preceeding pattern. Matching is greedy and will match as much as possible.
:dt.:hp2.+:ehp2.
:dd.Match one or more occurances of preceeding pattern. Match is greedy.
:dt.:hp2.@:ehp2.
:dd.Match zero or more occurances of preceeding pattern. Matching is non-greedy and will match as little as possible without causing the rest of the pattern match to fail.
:dt.:hp2.#:ehp2.
:dd.Match one or more occurances of preceeding pattern. Matching is non-greedy.
:dt.:hp2.{ }:ehp2.
:dd.Group patterns together to form complex pattern. ( {abc}, {abc}|{cde}, {abc}?, {word}?)
:dt.:hp2.( ):ehp2.
:dd.Group patterns together to form complex pattern. Also used to remember the matched substring which can be used for substitution operation. Up to 9 can be used.
:edl.
:p.
:hp2.Replace Operators&colon.:ehp2.
:dl compact tsize=8 break=all.
:dt.:hp2.\:ehp2.
:dd.Causes the next character to lose it's special meaning.
:dt.:hp2.\n:ehp2.
:dd.Inserts a 0x0A (LF) character.
:dt.:hp2.\r:ehp2.
:dd.Inserts a 0x0D (CR) character.
:dt.:hp2.\t:ehp2.
:dd.Inserts a 0x09 (TAB) character.
:dt.:hp2.\#:ehp2.
:dd.Recalls stored substring from matched pattern ()'s. (\1, \2, \3, to \9)
:dt.:hp2.\0:ehp2.
:dd.Recalls entire matched pattern.
:dt.:hp2.\u:ehp2.
:dd.Convert next character to uppercase
:dt.:hp2.\l:ehp2.
:dd.Convert next character to lowercase
:dt.:hp2.\U:ehp2.
:dd.Convert to uppercase till \E or \e
:dt.:hp2.\L:ehp2.
:dd.Convert to lowercase till \E or \e
:edl.
.br
:h1.Search and Replace
:i1 id=search.Search and Replace
:p.
:hp2.Search and Replace Commands&colon.:ehp2.
:p.
:dl compact tsize=8 break=all.
:dt.:hp2.Find:ehp2.:dd.Search for text w/options.
:dt.:hp2.FindReplace:ehp2.:dd.Search and replace text w/options.
:dt.:hp2.FindRepeat:ehp2.:dd.Repeat last search/replace operation
:dt.:hp2.FindRepeatReverse:ehp2.:dd.Repeat last search/replace operation in opposite direction
:dt.:hp2.FindRepeatOnce:ehp2.:dd.Repeat last search/replace operation only once.
:dt.:hp2.MatchBracket:ehp2.:dd.Search for matching bracket
:dt.:hp2.IncrementalSearch:ehp2.:dd.Search incrementally for text.
:dt.:hp2.Search:ehp2.:dd.Search for text
:dt.:hp2.SearchB:ehp2.:dd.Search for text backwards
:dt.:hp2.SearchRx:ehp2.:dd.Search for regexp
:dt.:hp2.SearchReplaceRx:ehp2.:dd.Search and replace using regexp
:dt.:hp2.SearchAgain:ehp2.:dd.Search for text again
:dt.:hp2.SearchAgainB:ehp2.:dd.Search for text again backwards
:dt.:hp2.SearchReplace:ehp2.:dd.Search for text and replace
:dt.:hp2.SearchReplaceB:ehp2.:dd.Search and replace backwards
:edl.
:p.
If :hp2.WSStyleSearch:ehp2. is set to 1, search/replace string and options
are entered at separate prompts. Otherwise they must be separated by a '/'
(slash) and any slash or backslash in search/replace string must be escaped
by '\' (backslash), except when using regular expressions (double
escaping is not necessary).
:p.
For example (when WSStyleSearch is off)&colon.
:xmp.
foo/bar/agn replace all foo with bar globally without prompting
:exmp.
:hp2.Search and Replace Options:ehp2.
:p.
:dl compact tsize=8 break=all.
:dt.:hp2.a:ehp2.:dd.Search for all occurances
:dt.:hp2.b:ehp2.:dd.Search in block only
:dt.:hp2.g:ehp2.:dd.Search through entire file/block (globally).
:li.When checking for file modification time of last change is now used instead of the time of last access.
:li.Wildcard support for file loading.
:eul.
:eul.
:li.0.23
:ul compact.
:li.1995/06/04
:ul compact.
:li.Ctrl+C and Ctrl+Break are now disabled.
:li.Ctrl+S and Ctrl+C keys are now again recognised in Windowed mode.
:li.Fixed problem when spawning a subprocess in Windowed mode.
:li.New command&colon. ShowEntryScreen
:li.ListRoutines in CMode only shows functions not their prototypes.
:li.New setting&colon. SysClipboard - if set to 1, editor will automatically use system clipboard.
:li.New command&colon. ToggleSysClipboard.
:li.Minor bug fix in PM clipboard support.
:li.New commands&colon. BlockPasteStream, BlockPasteColumn and BlockPasteLine. BlockPaste command will now always paste in current block mode, not in the last Copy/Cut mode.
:li.More than 4 commands can be bound to a key (actually this worked since 0.18, but was not documented).
:li.New command&colon. FileReload.
:li.Editor will now check if file has changed on disk before saving it.
:eul.
:eul.
:li.0.22
:ul compact.
:li.1995/05/28
:ul compact.
:li.But fix in regular expressions (nested +#*@).
:li.Changes in regular expression syntax.
:li.New function&colon. ListRoutines. Shows functions in current buffer.
:li.New setting&colon. RoutineRx
:eul.
:eul.
:li.0.21
:ul compact.
:li.1995/05/21
:ul compact.
:li.REXX mode smart indentation.
:li.KillWord &. KillWordPrev commands now actually work.
:li.Pressing Ctrl+Enter to begin Search will toggle case sensitivity of search.
:li.New option 'Trim' and commands 'ToggleTrim', 'LineTrim'. Removes whitespace from end of lines.
:li.New option 'ShowMarkers' and command 'ToggleShowMarkers'. Shows end of line and end of file markers.
:li.Bug fix in PERL highlighting (caused lockups)
:li.Bug fixes and improvements in regular expressions.
:eul.
:eul.
:li.0.20
:ul compact.
:li.1995/05/18
:ul compact.
:li.Major bug fixes in word wrap.
:li.New commands&colon. MovePrevTab, MoveNextTab.
:li.Bug fixes in BlockIndent and BlockUnindent (stream/line mode)
:eul.
:eul.
:li.0.19
:ul compact.
:li.1995/05/16
:ul compact.
:li.Function names in REXX are now highlighted.
:li.WordWrap can be set to 0 - disabled, 1 - wrap line at right margin and 2 - wrap paragraph continously. Function ToggleAutoWrap renamed to ToggleWordWrap.
:li.New way to set left/right margin (SetLeftMargin, SetLeftMargin)
:li.Minor fix in PERL highlighting.
:eul.
:eul.
:li.0.18
:ul compact.
:li.1995/05/13
:ul compact.
:li.PERL Syntax Higlighting.
:li.Memory allocation problem in tab expansion.
:li.Wordwrap now strips all spaces on beginning of line (except on the first line of the paragraph).
:li.Tabs can be set to any number between 1 and 32.