String
Most Qedit commands can specify a string of characters to be searched for in the workfile. Only lines containing the string are processed by the command. A string is delimited by quote characters ("SAM") or by one of these other special characters:
' \ ~ : | %
The delimiter list can be customized with the Set Stringdelimiters command.
The maximum length of a string is 80 characters. Apostrophe is a valid string delimiter when Set Decimal is OFF (handy because ' is an unshifted key on many keyboards). All these delimiters can be used within Qedit commands. Some delimiters, like the colon, cannot be used in an implied search or on the home line (===>
) in full-screen mode.
/QEDIT
{find the next occurrence of the word QEDIT}
/:QEDIT:
{colon prefix identifies a system command}
You can specify more precise string matching by appending a window to the string ("SAM" (UPSHIFT), etc.). A null string ("") refers to the previous string entered, with the same window as before. For example:
/c "QEDIT"Quedit"@
{change spelling in all lines}
/l 'QEDIT' (upshift)
{match uppercase and lowercase}
/find \withh\
{find spelling error; fix it}
/change \\with\