NAME
OnSearch::Regex - Construct search and display regular expressions.
SYNOPSIS
$regex = search_expr ($searchterm, $type_of_match, $case_sensitive,
$partial_word);
$display_regex = display_expr ($searchterm, $type_of_match, $case_sensitive,
$partial_word);
DESCRIPTION
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.
EXPORTS
search_expr (searchterm, matchtype, matchcase, partialword);
Construct a search expression.
collate_expr (searchterm, matchtype, matchcase, partialwordmatch);
Construct an expression for collating search terms.
display_expr (searchterm, matchtype, matchcase, partialword);
Construct a display expression.