The SET SEARCH (abbreviated SE SE) command controls several options related to string searching. Format: SET SEARCH { GENERAL | EXACT | WPS | CASE INSENSITIVE | CI | DIACRITICAL INSENSITIVE | DI } { [UN]BOUNDED } { BEGIN | END }
1 – GENERAL
The GENERAL option will cause the case of letters and the presence or absence of diacritical marks to be ignored in search strings. GENERAL is the default.
2 – EXACT
The EXACT option will require all characters to match exactly, including the case of letters and the presence of diacritical marks, in search strings.
3 – WPS
The WPS option will cause a case-independent string match for lowercase letters in the search string, and a case-dependent match for uppercase letters in the search string.
4 – CI
The CI option will cause the case of letters to be ignored in search strings, but not the presence of diacritical marks. CI is an abbreviation for CASE INSENSITIVE.
5 – DI
The DI option will cause diacritical marks on letters to be ignored in string searches, but not the case of the letters. DI is an abbreviation for DIACRITICAL INSENSITIVE.
6 – BOUNDED
The BOUNDED (abbreviated BO) option will cause the search to be bounded by a page delimiter. By default, the search is unbounded, which means that the entire buffer will be searched. This option has effect only in change mode. The UNBOUNDED (abbreviated U) option causes the search not to be bounded by a page delimiter, which means that the entire buffer will be searched. This is the default. This option has effect only in change mode.
7 – BEGIN
The BEGIN (abbreviated B) option causes the cursor to be left at the beginning of the search string when it is found. This is the default. This option has effect only in change mode.
8 – END
The END (abbreviated E) option causes the cursor to be left at the end of the search string when it is found. By default, the cursor is left at the beginning. This option has effect only in change mode.