Authors:
Explores the three primary use cases for Perl 6 regexes: searches, validations, and parsing
Shows you how to master regex techniques
Teaches how to reuse named regexes as templates
Buy it now
Buying options
Tax calculation will be finalised at checkout
Other ways to access
This is a preview of subscription content, access via your institution.
Table of contents (13 chapters)
-
Front Matter
-
Back Matter
About this book
While regexes allow you to search for patterns in text and validate input, Perl 6 regexes advance that concept: you’ll see how they are easier to read, yet much more powerful, than the traditional "Perl-compatible regular expression". With improved reusability and backtracking control, you will be able to write complete parsers with the help of this book.
What You'll Learn
- Discover the building blocks of Perl 6 regexes
- Handle regex mechanics and master useful regex techniques
- Extract data and work with patterns among these use cases
- Reuse named regexes and other grammars as components or templates
- Write full parsers, including advanced error reporting and data extraction
- Learn how to parse nested scopes and indention-based formats
Who This Book Is For
Those with at least some prior experience with Perl programming, but who may be new to Perl 6 as well as searching and parsing.
Keywords
- Perl 6
- parsing
- programming
- searching
- code
- open source
- source
- software
- applications
- regex
- regular expressions
Authors and Affiliations
-
Fürth, Germany
Moritz Lenz
About the author
Bibliographic Information
Book Title: Parsing with Perl 6 Regexes and Grammars
Book Subtitle: A Recursive Descent into Parsing
Authors: Moritz Lenz
DOI: https://doi.org/10.1007/978-1-4842-3228-6
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books
Copyright Information: Moritz Lenz 2017
Softcover ISBN: 978-1-4842-3227-9Published: 11 December 2017
eBook ISBN: 978-1-4842-3228-6Published: 04 December 2017
Edition Number: 1
Number of Pages: XIV, 201
Number of Illustrations: 8 b/w illustrations, 4 illustrations in colour
Topics: Programming Languages, Compilers, Interpreters, Programming Techniques, Open Source