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

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

Serving Software Downloads in 956 Categories, Downloaded 50.320.889 Times

perlrecharclass 5.9.5

  Date Added: August 26, 2010  |  Visits: 895

perlrecharclass

Report Broken Link
Printer Friendly Version


Product Homepage
Download (94 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
USER REVIEWS
More Reviews or Write Review


PERLRECHARCLASS RELATED
Miscellaneous  -  Complex Boolean Regular Expression Class 1.4
This class wraps up a complex boolean word expression, creating an internal regular expression, and provides methods that allows you to perform matches and searches on it.
 
Libraries  -  B::Lint 1.09
B::Lint module contains Perl lint. SYNOPSIS perl -MO=Lint[,OPTIONS] foo.pl The B::Lint module is equivalent to an extended version of the -w option of perl. It is named after the program lint which carries out a similar process for C...
17.41 KB  
Libraries  -  Speech::Recognizer::ViaVoice 0.02
Speech::Recognizer::ViaVoice contains Perl wrappers for IBMs ViaVoice speech Recognizer library. SYNOPSIS use Speech::Recognizer::ViaVoice; $| = 1; if (0 == connectEngine) { if ( 0 == defineVocab(myTestVocab, [hello,world,quit]) ) { print...
8.19 KB  
Libraries  -  Class::DispatchToAll 0.11
Class::DispatchToAll Perl module can dispatch a method call to all inherited methods. SYNOPSIS package My::Class; our @ISA=qw(SomeClass SomeOtherClass More::Classes); use Class::DispatchToAll qw(dispatch_to_all); my $self=bless...
5.12 KB  
Libraries  -  Doc::Perlish 0.14
Doc::Perlish is a Perl module that contains Perl Documentation Tools. SYNOPSIS my $doc = Doc::Perlish->new( type => "POD", input => "source.pod" ); # simple conversions; my $html = $doc->to_html; # DOM-style interface; see...
56.32 KB  
Libraries  -  Statistics::Cluto 0.01
Statistics::Cluto package contains Perl binding for CLUTO. SYNOPSIS use Statistics::Cluto; use Data::Dumper; my $c = new Statistics::Cluto; $c->set_dense_matrix(4, 5, [ [8, 8, 0, 3, 2], [2, 9, 9, 1, 4], [7, 6, 1, 2, 3], [1, 7, 8, 2,...
27.65 KB  
Libraries  -  Parse::RandGen::Regexp 0.202
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...
25.6 KB  
Libraries  -  perlfilter 5.8.8
perlfilter package contains Perl source filters. This article is about a little-known feature of Perl called source filters. Source filters alter the program text of a module before Perl sees it, much as a C preprocessor alters the source text...
12.2 MB  
Libraries  -  FLAT::Legacy::FA::RE 0.1
FLAT::Legacy::FA::RE is a regular expression base class. SYNOPSIS use FLAT::Legacy::FA::RE; use FLAT::Legacy::FA::NFA; my $re = RE->new(); $re->set_re(a|b|(hi)*); my $nfa = $re->to_nfa(); print $nfa->info(); # see stuff on NFA my $dfa =...
32.77 KB  
Libraries  -  PCRE 7.2
PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5, with just a few differences. The current implementation corresponds to Perl 5.005. PCRE is used by many...
788.48 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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