Next: regexp-opt-charset, Previous: regexp-quote, Up: Regular Expression Functions [Index]
This function returns an efficient regular expression that will match any of the strings in the list STRINGS. This is useful when you need to make matching or searching as fast as possible—for example, for Font Lock mode.
list of strings
The optional argument PAREN can be any of the following:
The resulting regexp is preceded by PAREN and followed by ‘\)’; ‘\\(?1:’
The resulting regexp is surrounded by ‘\<\>’.
The resulting regexp is surrounded by ‘\_<\_>’
The resulting regexp is surrounded by ‘’.
The resulting regexp is surrounded by ‘’