Skip to Main Content
Perl by Example, Fourth Edition
book

Perl by Example, Fourth Edition

by Ellie Quigley
November 2007
Intermediate to advanced content levelIntermediate to advanced
1008 pages
20h 15m
English
Pearson
Content preview from Perl by Example, Fourth Edition

Chapter 9. Getting Control—Regular Expression Metacharacters

Getting Control—Regular Expression Metacharacters

Regular Expression Metacharacters

Regular expression metacharacters are characters that do not represent themselves. They are endowed with special powers to allow you to control the search pattern in some way (e.g., find the pattern only at the beginning of line or at the end of the line or only if it starts with an upper- or lowercase letter). Metacharacters lose their special meaning if preceded with a backslash (\). For example, the dot metacharacter represents any single character but when preceded with a backslash is just a dot or period.

If you see a backslash preceding a metacharacter, ...

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

Perl in a Nutshell, 2nd Edition

Perl in a Nutshell, 2nd Edition

Nathan Patwardhan, Ellen Siever, Stephen Spainhour
Programming Perl, 3rd Edition

Programming Perl, 3rd Edition

Larry Wall, Tom Christiansen, Jon Orwant
Learning Perl, 7th Edition

Learning Perl, 7th Edition

Randal L. Schwartz, brian d foy, Tom Phoenix
Minimal Perl

Minimal Perl

Tim Maher

Publisher Resources

ISBN: 9780132381826Purchase book