regcmp(1) (MLX Addendum) (MLX) regcmp(1) (MLX Addendum)
NAME
regcmp - regular expression compile (MLX addendum)
SYNOPSIS
regcmp [-] files
DESCRIPTION
(International Functions)
regcmp compiles regular expressions based on characters, not bytes, as
regcmp(3G) does. Regular expressions in the file can include charac-
ters from supplementary code sets.
. Matches any character from any supplementary code set.
* Matches zero or more occurrences of the given regular expression.
.* Matches any character string, including those containing charac-
ters from supplementary code sets, or the null string.
[ ] Matches any one character in the string enclosed by square brack-
ets, or any one character with a code value within a range desig-
nated using a minus () sign. When the characters in the range are
from different code sets, the range is ignored, however either of
the characters specifying the range bounds will match.
[^ ] Matches any one character not in the string enclosed by square
brackets and not within any ranges designated using a minus ()
sign. When the characters in a range are from different code
sets, the range is ignored, however neither of the characters
specifying the range bounds will match.
SEE ALSO
regcmp(3G).
Page 1 Reliant UNIX 5.44 12, 196