Restricted User Shell
regexp statement configures the flavor of regular
expressions for use by subsequent
Configure the type of regular expressions.
Each flag is a word specifying some regular expression feature. It can be preceded by ‘+’ to enable this feature (this is the default), or by ‘-’ to disable it. Valid flags are:
Use POSIX Extended Regular Expression syntax when interpreting regex. This is the default.
Use basic regular expressions. Equivalent to ‘-extended’.
Do not differentiate case. Subsequent regex matches will be case insensitive.
For example, the following statement enables POSIX extended, case insensitive matching:
global regex +extended +icase
This document was generated on July 12, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.