Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.984.495 Times

perlrecharclass 5.9.5

  Date Added: August 26, 2010  |  Visits: 671

perlrecharclass

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 downloads)

perlrecharclass package contains Perl regular expression character classes. The top level documentation about Perl regular expressions is found in perlre. This manual page discusses the syntax and use of character classes in Perl Regular Expressions. A character class is a way of denoting a set of characters, in such a way that one character of the set is matched. Its important to remember that matching a character class consumes exactly one character in the source string. (The source string is the string the regular expression is matched against.) There are three types of character classes in Perl regular expressions: the dot, backslashed sequences, and the bracketed form. The dot The dot (or period), . is probably the most used, and certainly the most well-known character class. By default, a dot matches any character, except for the newline. The default can be changed to add matching the newline with the single line modifier: either for the entire regular expression using the /s modifier, or locally using (?s). Here are some examples: "a" =~ /./ # Match "." =~ /./ # Match "" =~ /./ # No match (dot has to match a character) "n" =~ /./ # No match (dot does not match a newline) "n" =~ /./s # Match (global single line modifier) "n" =~ /(?s:.)/ # Match (local single line modifier) "ab" =~ /^.$/ # No match (dot matches one character) Backslashed sequences Perl regular expressions contain many backslashed sequences that constitute a character class. That is, they will match a single character, if that character belongs to a specific set of characters (defined by the sequence). A backslashed sequence is a sequence of characters starting with a backslash. Not all backslashed sequences are character class; for a full list, see perlrebackslash. Heres a list of the backslashed sequences, which are discussed in more detail below. d Match a digit character. D Match a non-digit character. w Match a "word" character. W Match a non-"word" character. s Match a white space character. S Match a non-white space character. h Match a horizontal white space character. H Match a character that isnt horizontal white space. v Match a vertical white space character. V Match a character that isnt vertical white space. pP, p{Prop} Match a character matching a Unicode property. PP, P{Prop} Match a character that doesnt match a Unicode property..

Requirements: No special requirements
Platforms: Linux
Keyword: Character Character Class Contains Perl Dot Libraries Match Perl Perl Regular Expressions Perlrecharclass Programming Regular Regular Expression Space Character White Space
Users rating: 0/10

License: Freeware Size: 14.8 MB
PERLRECHARCLASS RELATED
Libraries  -  Unicode::Regex::Set 0.02
Unicode::Regex::Set is a subtraction and intersection of Character Sets in Unicode Regular Expressions. SYNOPSIS use Unicode::Regex::Set qw(parse); $regex = parse([p{Latin} & p{L&} - A-Z]); Perl 5.8.0 misses subtraction and intersection of...
5.12 KB  
Libraries  -  ShiftJIS::Regexp 1.00
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...
35.84 KB  
Libraries  -  Class::Generate 1.09
Class::Generate is a Perl module that can generate Perl class hierarchies. SYNOPSIS use Class::Generate qw(class subclass delete_class); # Declare class Class_Name, with the following types of members: class Class_Name => [ s => $, #...
53.25 KB  
Libraries  -  Class::Contract 1.00
Class::Contract - Design-by-Contract OO in Perl. SYNOPSIS package ClassName use Class::Contract; contract { inherits BaseClass; invar { ... }; attr data1; attr data2 => HASH; class attr shared => SCALAR; ctor new; method...
26.62 KB  
Libraries  -  Regexp::Assemble 0.28
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...
81.92 KB  
Libraries  -  pgk 0.05
pgk is a Perl Gimp Kit, a OO perl gtk interface. pgk::Widget new ($name,$type) pre: $name is the name of this widget. $type is the type of this widget. post: base class pgk::Widget created, that implements base functions for all derived...
7.17 KB  
Libraries  -  Search::Tools::RegExp::Keywords 0.06
Search::Tools::RegExp::Keywords is a Perl module to access regular expressions for keywords. SYNOPSIS my $regexp = Search::Tools::RegExp->new(); my $kw = $regexp->build(the quick brown fox); for my $w ($kw->keywords) { my $r = $kw->re(...
49.15 KB  
Libraries  -  Perl6::Currying 0.05
Perl6::Currying is a Perl 6 subroutine currying for Perl 5. SYNOPSIS use Perl6::Currying; sub add ($a,$b) { $a + $b } # Define a sub with named params print add(1,2); # Call it my $incr = &add.prebind(a=>1); # Bind the $a argument to 1...
5.12 KB  
Libraries  -  Perl6::Gather 0.04
Perl6::Gather is a Perl module that implements the Perl 6 gather/take control structure in Perl 5. SYNOPSIS use Perl6::Gather; @list = gather { # Try to extract odd numbers and odd number names... for (@data) { if...
5.12 KB  
Libraries  -  Getopt::Declare 1.11
Getopt::Declare is a Perl module with Declaratively Expressed Command-Line Arguments via Regular Expressions. SYNOPSIS use Getopt::Declare; $args = Getopt::Declare->new($specification_string, $optional_source); # or: use Getopt::Declare...
35.84 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB