© William "Bo" Rothwell of One Course Source, Inc. 2020
W. ". RothwellPro Perl Programminghttps://doi.org/10.1007/978-1-4842-5605-3_2

2. Advanced Regular Expressions

William “Bo” Rothwell1 
(1)
San Diego, CA, USA
 

So, you think you know a lot about Perl Regular Expressions? If you finished Chapter 1, then you certainly do. But, there are more REs that provide you with powerful techniques to parse data.

This chapter covered REs that will give you a great understanding of how useful Perl pattern matching is. Each section in this chapter will also start with a brief description why you should learn that technique.

Make use of the Smartmatch operator

Why

This operator provides a more powerful technique to perform matching.

The Smartmatch operator, ~~, will ...

Get Pro Perl Programming: From Professional to Advanced now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.