Skip to Content
Perl by Example
book

Perl by Example

by Ellie Quigley
December 2014
Beginner
888 pages
25h 23m
English
Addison-Wesley Professional
Content preview from Perl by Example

Chapter 9. Getting Control—Regular Expression Metacharacters

Image

By the end of this chapter, you will be able to unravel and use the following regular expressions:

die unless (/^.+@[^\.].*\.[a-z]{2,}$/);$money =~ s/(?<=\d)(?=(\d\d\d)+(?!\d))/,/g

9.1 The RegExLib.com Library

Before getting deep into the weeds, let’s take a look at the regexlib.com Web site. This Web site allows you to search for a pattern and will show you a list of regular expression solutions and a rating on how well each one performs its pattern-matching task. Although the Web site may not be 100 percent Perlish in the way it handles regexes, it is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Perl

Beginning Perl

Curtis Ovid Poe
Perl Hacks

Perl Hacks

Chromatic, Damian Conway, Curtis Ovid Poe, Curtis (Ovid) Poe
Mastering Perl

Mastering Perl

brian d foy
Learning Perl 6

Learning Perl 6

brian d foy

Publisher Resources

ISBN: 9780133593068Purchase book