Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

What are Regexes and Grammars?

  • 726 Accesses

Abstract

We come into contact with all sorts of structured data: telephone numbers, e-mail addresses, postal addresses, credit card numbers, and so on.

Keywords

  • Postal Address
  • Credit Card Number
  • Perl Compatible Regular Expressions (PCRE)
  • Valid Input Format
  • Untrusted Input

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-1-4842-3228-6_1
  • Chapter length: 6 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   29.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-3228-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   37.99
Price excludes VAT (USA)
Figure 1-1

Notes

  1. 1.

    https://en.wikipedia.org/wiki/Regular_language

  2. 2.

    https://en.wikipedia.org/wiki/Kleene_star

  3. 3.

    Other programming languages use the word “Traits” for the concept behind Perl 6 roles.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and Permissions

Copyright information

© 2017 Moritz Lenz

About this chapter

Verify currency and authenticity via CrossMark

Cite this chapter

Lenz, M. (2017). What are Regexes and Grammars?. In: Parsing with Perl 6 Regexes and Grammars. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3228-6_1

Download citation