NAME
regexp-opt - create a regexp matching all words in the command line
SYNOPSIS
regexp-opt --debug --emacs --exact --pcre --posix --word STRING [STRING...]
DESCRIPTION
Creates a regular expression that will match any of the words listed in the command line. By default, POSIX extended regexp is created.
OPTIONS
- --debug
-
Enable debugging output.
- --emacs
-
Create Emacs regular expression.
- --exact
-
Create a regexp that will match only words appearing at a line alone.
- --pcre
-
Create Perl-compatible regular expression.
- --posix
-
Create POSIX extended regular expression (default).
- --word
-
Create regexp for matching whole words.
AUTHOR
Sergey Poznyakoff <gray@gnu.org>