Skip to main content

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

The Building Blocks of Regexes

  • 711 Accesses

Abstract

After all the talk and preparation, it’s time to look at some actual regexes.

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_3
  • Chapter length: 16 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)

Notes

  1. 1.

    https://docs.perl6.org/type/Int#routine_chr

  2. 2.

    https://docs.perl6.org/type/Str#sub_sprintf

  3. 3.

    https://docs.perl6.org/type/Cool#method_uniname

  4. 4.

    http://unicode.org/reports/tr23/

  5. 5.

    Technically, anchors are also zero-width assertions, and they can look both ahead and behind.

  6. 6.

    If this doesn’t make sense to you, don’t worry; it will be clearer after the discussion of match objects and Regex Mechanics in later chapters.

  7. 7.

    There should be no need for that. Still, it’s good to have that power.

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). The Building Blocks of Regexes. In: Parsing with Perl 6 Regexes and Grammars. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3228-6_3

Download citation