String::Regexp is a Perl module that is used to generate a regular expression that matches each string from a list of strings. The functionality is somewhat similar to the Emacs regexp-opt function, but provides more features. In particular it supports Perl-compatible and POSIX (basic and extended) regular expressions.