qcenv.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Find Command - Regular Expressions (4 of 4)
Shortcut key:  CTRL+QF
 
Use the Find command to search for the next occurrence of
a text string in the active window. You can request
  ■ An exact (case-sensitive) match
  ■ A whole-word match (a-z, A-Z, 0-9, #, and underscore)
  ■ A general pattern search using regular expressions
 
You can bypass the menu with two keys:
  ■ Use CTRL+QF as the shortcut key for the Find command.
  ■ Use CTRL+F3 to find the currently highlighted text.
 
To find and replace text, use the Change command.
After selecting Find from the Search menu
  1. Type in the text to search for.
  2. Select options from the list.
  3. Press ENTER or select <OK> to begin searching or
     select <Cancel> to return to QuickC.
 
┌────────────────────────────────┐
│Find What: [▒▒▒▒▒▒▒▒▒▒▒▒▒] ────│─ ■ Type text or
│                                │    pattern to find
│ [ ] Whole Word ───────────────│─ ■ Find whole words only
│ [ ] Match Upper/Lowercase ────│─ ■ Find exact case only
│ [ ] Regular Expression ───────│─ ■ Use regular
└────────────────────────────────┘    expression
   ▲
   └───────────── Select search criteria here
 
Period       .  Matches any single character
 
Caret        ^  Matches the beginning of a line
 
Dollar sign  $  Matches the end of a line (must
                appear at the end of the text)
 
Asterisk     *  Matches zero or more repetitions of the
                character preceding the asterisk
 
Plus sign    +  Matches one or more occurrences of the
                character preceding the plus sign
Brackets    [ ] Matches sets of the characters specified
                within the brackets
 
Caret       ^   Matches any character EXCEPT those
                specified within the brackets; must be
                the first character within the brackets
 
Dash        -   Matches characters in ASCII order between
                the characters on either side, inclusive
 
Backslash   \   Interprets the next character literally
 
Hex value   \xx Ranges specified by ASCII hex values are
                allowed; \00 matches newline