Restricted User Shell
regex statement configures the flavor of regular
expressions for use by subsequent
Configure the type of regular expressions.
Regex-flags is a whitespace-separated list of flags. 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:
regex +extended +icase
regex settings affect subsequent
match statements (see Conditions), and remain in effect
regex statement or the end of configuration file,
whichever occurs first.
This document was generated on June 29, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.