- SEE ALSO
OnSearch::Regex - Construct search and display regular expressions.
$regex = search_expr ($searchterm, $type_of_match, $case_sensitive, $partial_word); $display_regex = display_expr ($searchterm, $type_of_match, $case_sensitive, $partial_word);
OnSearch::Regex constructs regular expressions for searching and displaying word and phrase matches. The searchterm argument can be any number of words. The type_of_match argument can be either, "any," "all," or, "exact." The third and fourth arguments, case_sensitive and partial_word, can be either, "yes," or, "no."
Compound words are also treated as multiple words. For example, "Net::Daemon," is treated as two words.
Construct a search expression.
Construct an expression for collating search terms.
Construct a display expression.