Search::Tools::RegExpSearch::Tools::RegExp is a Perl module to build regular expressions from search queries. | |
Download |
Search::Tools::RegExp Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Peter Karman
- Publisher web site:
- http://search.cpan.org/~karman/CatalystX-CRUD-0.17/lib/CatalystX/CRUD/Tutorial.pod
Search::Tools::RegExp Tags
Search::Tools::RegExp Description
Search::Tools::RegExp is a Perl module to build regular expressions from search queries. Search::Tools::RegExp is a Perl module to build regular expressions from search queries.SYNOPSIS my $regexp = Search::Tools::RegExp->new(); my $kw = $regexp->build('the quick brown fox'); for my $w ($kw->keywords) { my $r = $kw->re( $w ); # the word itself printf("the word is %sn", $r->word); # is it flagged as a phrase? print "the word is a phrasen" if $r->phrase; # each of these are regular expressions print $r->plain; print $r->html; }Build regular expressions for a string of text.All text is converted to UTF-8 automatically if it isn't already, via the Search:Tools::Keywords module. Requirements: · Perl
Search::Tools::RegExp Related Software