Regexp Fields
Regexp::Fields is a Perl module that adds the extended (? ...) pattern to Perl's regular expression language. This works like an ordinary pair of capturing parens, but after a match you can use $&{name} instead of $1 (or whichever $N) to get at the captured substring. The %{&} hash is global,...
Platforms: *nix
License: Freeware | Size: 491.52 KB | Download (31): Regexp::Fields Download |
Regexp::Log::BlueCoat is a regexp builder to parse BlueCoat log files. SYNOPSIS my $blue = Regexp::Log::BlueCoat->new( format => %g %e %a %w/%s %b %m %i %u %H/%d %c, capture => [qw( host code )], ); # the format() and capture() methods can be used to set or get $blue->format(%g %e %a...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (101): Regexp::Log::BlueCoat Download |
Regexp::Log is a Perl base class for log files regexp builders. SYNOPSIS my $foo = Regexp::Log::Foo->new( format => custom %a %b %c/%d, capture => [qw( host code )], ); # the format() and capture() methods can be used to set or get $foo->format(custom %g %e %a %w/%s %c);...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (93): Regexp::Log Download |
Class::Struct::FIELDS module combine Class::Struct, base and fields. SYNOPSIS (This page documents Class::Struct::FIELDS v.1.1.) use Class::Struct::FIELDS; # declare struct, based on fields, explicit class name: struct (CLASS_NAME => { ELEMENT_NAME => ELEMENT_TYPE, ... }); use...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (98): Class::Struct::FIELDS Download |
ShiftJIS::Regexp contains regular expressions in Shift-JIS. SYNOPSIS use ShiftJIS::Regexp qw(:all); match($string, p{Hiragana}{2}p{Digit}{2}); match($string, pH{2}pD{2}); # these two are equivalent: This module provides some functions to use regular expressions in Shift-JIS on the...
Platforms: *nix
License: Freeware | Size: 35.84 KB | Download (99): ShiftJIS::Regexp Download |
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...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (96): Regexp::Genex Download |
Regexp::Common::comment is a Perl module that provide regexes for comments. SYNOPSIS use Regexp::Common qw /comment/; while (<>) { /$RE{comment}{C}/ and print "Contains a C commentn"; /$RE{comment}{C++}/ and print "Contains a C++ commentn"; /$RE{comment}{PHP}/ and print "Contains a PHP...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (103): Regexp::Common::comment Download |
Regexp::MatchContext is Perl module to replace (and improve) $MATCH, $PREMATCH, and $POSTMATCH SYNOPSIS use Regexp::MatchContext -vars; $str = m/(?p) d+ /; print "Before: $PREMATCHn"; print "Matched: $MATCHn"; print "After: $POSTMATCHn"; $MATCH = 2 * $MATCH; # substitute into original...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (94): Regexp::MatchContext Download |
Regexp::Common::net is a Perl module that provide regexes for IPv4 addresses. SYNOPSIS use Regexp::Common qw /net/; while (<>) { /$RE{net}{IPv4}/ and print "Dotted decimal IP address"; /$RE{net}{IPv4}{hex}/ and print "Dotted hexadecimal IP address"; /$RE{net}{IPv4}{oct}{-sep => :}/ and...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (115): Regexp::Common::net Download |
Regexp::Extended is a Perl wrapper that extends the re module with new features. SYNOPSIS use Regexp::Extended qw(:all); # (?<>...): named parameters $date =~ /(? d+)-(? d+)-(? d+)/; if ("2002-10-30" =~ /$date/) { print "The date is : $::year->[0]-$::month->[0]-$::day->[0]n"; }...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (93): Regexp::Extended Download |
Regexp::Assemble is Perl module to assemble multiple Regular Expressions into a single RE. SYNOPSIS use Regexp::Assemble; my $ra = Regexp::Assemble->new; $ra->add( ab+c ); $ra->add( ab+- ); $ra->add( awd+ ); $ra->add( ad+ ); print $ra->re; # prints a(?:w?d+|b+[-c]) Regexp::Assemble...
Platforms: *nix
License: Freeware | Size: 81.92 KB | Download (94): Regexp::Assemble Download |
Regexp::Common::time Perl module contains date and time regexps. SYNOPSIS use Regexp::Common qw(time); # Piecemeal, Time::Format-like patterns $RE{time}{tf}{-pat => pattern} # Piecemeal, strftime-like patterns $RE{time}{strftime}{-pat => pattern} # Match ISO8601-style date/time...
Platforms: *nix
License: Freeware | Size: 35.84 KB | Download (94): Regexp::Common::time Download |
Parse::RandGen::Regexp is a Perl module for regular expression Condition element. Regexp is a Condition element that matches the given compiled regular expression. For picking random data, the regular expression is parsed into its component Subrules, Literals, CharClasses, etc.... Therefore,...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (90): Parse::RandGen::Regexp Download |
Regexp::Parser::Handlers is a Perl module with handlers for Perl 5 regexes. This module holds the init() method for the Regexp::Parser class, which installs all the handlers for standard Perl 5 regexes. This documentation contains a sub-classing tutorial. SUB-CLASSING I will present two...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (86): Regexp::Parser::Handlers Download |
Regexp::Parser is a Perl module for parsing regexes. This module parses regular expressions (regexes). Its default "grammar" is Perl 5.8.4s regex set. Grammar is quoted because the module does not so much define a grammar as let each matched node state what it expects to match next, but there...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (94): Regexp::Parser Download |
Crimson Fields project is a tactical war game in the tradition of Battle Isle. The outcome of the war lies in your hands. You decide which units are sent to the front lines, and when to unleash the reserves. Your mission objectives range from defending strategically vital locations to simply...
Platforms: *nix
License: Freeware | Size: 798.72 KB | Download (104): Crimson Fields Download |
Sort::Fields is a Perl module that can sort lines containing delimited fields. SYNOPSIS use Sort::Fields; @sorted = fieldsort [3, 2n], @lines; @sorted = fieldsort +, [-1, -3, 0], @lines; $sort_3_2n = make_fieldsort [3, 2n], @lines; @sorted = $sort_3_2n->(@lines); Sort::Fields provides...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (100): Sort::Fields Download |
Resizeable Form Fields is an extension which allows you to resize HTML form fields, including textareas, select boxes and more. Resize HTML form fields, including textareas, select boxes, text fields, and iframes..
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (100): Resizeable Form Fields Download |
fields::aliased is a Perl module that can create aliases for object fields. SYNOPSIS package MyPackage; use strict; use fields qw($scalar @array %hash); sub new { my $class = shift; my $self = fields::new($class); return $self; } sub mymethod { my MyPackage $self = shift; use...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (90): fields::aliased Download |
Visual REGEXP project can easily design and debug regular expressions by providing a graphical visualization of the expression and its matches on a sample of your choice. Limitations:.
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (119): Visual REGEXP Download |