Regexp::Genex 0.07
Sponsored Links
Regexp::Genex 0.07 Ranking & Summary
File size:
0.008 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
802
Date added:
2007-08-16
Publisher:
Brad Bowman
Regexp::Genex 0.07 description
Regexp::Genex - get the strings a regex will match, with a regex.
SYNPOSIS
# first try:
$ perl -MRegexp::Genex=:all -le print for strings(qr/a(b|c)d{2,3}e*/)
$ perl -x `pmpath Regexp::Genex`
#!/usr/bin/perl -l
use Regexp::Genex qw(:all);
$regex = shift || "a(b|c)d{2,4}?";
print "Trying: $regex";
print for strings($regex);
# abdd
# abddd
# abdddd
# acdd
# acddd
# acdddd
print "nThe regex code for that was:nqr/";
print strings_rx($regex);
print "/xn";
my $generator = generator($regex);
print "Taking first two using generator";
print $generator->() for 1..2;
my $big_rx = b*?c*?d*?; # * becomes {0,20}
my $big = generator($big_rx, ($max_length = 100) );
print "Taking string 100 of $big_rx";
print $big->(100); # (caveats below)
# ccccdddddddddddddddd NOT dx100 as you may expect
SYNPOSIS
# first try:
$ perl -MRegexp::Genex=:all -le print for strings(qr/a(b|c)d{2,3}e*/)
$ perl -x `pmpath Regexp::Genex`
#!/usr/bin/perl -l
use Regexp::Genex qw(:all);
$regex = shift || "a(b|c)d{2,4}?";
print "Trying: $regex";
print for strings($regex);
# abdd
# abddd
# abdddd
# acdd
# acddd
# acdddd
print "nThe regex code for that was:nqr/";
print strings_rx($regex);
print "/xn";
my $generator = generator($regex);
print "Taking first two using generator";
print $generator->() for 1..2;
my $big_rx = b*?c*?d*?; # * becomes {0,20}
my $big = generator($big_rx, ($max_length = 100) );
print "Taking string 100 of $big_rx";
print $big->(100); # (caveats below)
# ccccdddddddddddddddd NOT dx100 as you may expect
Regexp::Genex 0.07 Screenshot
Regexp::Genex 0.07 Keywords
Genex 0.07
regex
print
strings
rx
generator
0.07
Regexp::Genex
RegexpGenex
Regexp::Genex 0.07
Libraries
Programming
Bookmark Regexp::Genex 0.07
Regexp::Genex 0.07 Copyright
WareSeeker periodically updates pricing and software information of Regexp::Genex 0.07 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Regexp::Genex 0.07 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Regexp::Log is a Perl base class for log files regexp builders. Free Download
Regexp::Extended is a Perl wrapper that extends the re module with new features. Free Download
Regexp::Parser is a Perl module for parsing regexes. Free Download
Regexp::MatchContext is Perl module to replace (and improve) $MATCH, $PREMATCH, and $POSTMATCH Free Download
Regexp::Assemble is Perl module to assemble multiple Regular Expressions into a single RE. Free Download
Regexp::Common::time Perl module contains date and time regexps. Free Download
ReleaseAction - call actions upon release. Free Download
Regexp::Parser::Handlers is a Perl module with handlers for Perl 5 regexes. Free Download
Latest Software
Popular Software
Favourite Software