Main > Programming > Libraries >

perlrecharclass 5.9.5

perlrecharclass 5.9.5

Sponsored Links

perlrecharclass 5.9.5 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 14.8 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 829
Date added: 2007-07-19
Publisher: Perl Team

perlrecharclass 5.9.5 description

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.

perlrecharclass 5.9.5 Screenshot

Advertisements

perlrecharclass 5.9.5 Keywords

Bookmark perlrecharclass 5.9.5

Hyperlink code:
Link for forum:

perlrecharclass 5.9.5 Copyright

WareSeeker periodically updates pricing and software information of perlrecharclass 5.9.5 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 perlrecharclass 5.9.5 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
perlrebackslash is a module with Perl Regular Expression Backslash Sequences and Escapes. Free Download
Grepmail searches for emails in a normal or compressed mailbox using a regular expression or date constraint. Free Download
log_analysis is a log file analysis engine that extracts relevant data for any of the recognised log. Free Download
pam_passwdqc is a simple password strength checking module for PAM-aware password changing programs, such as passwd. Free Download
File::Searcher is a searches for files and performs search/replacements on matching files. Free Download
RegURL is an extension which applies a regular expression on the URL. Free Download
BruteBlock allows system administrators to block various bruteforce attacks on UNIX services. Free Download
XLSperl module allows you to use Perl "one-liners" with Microsoft Excel files. Free Download