Skip to main content

The Building Blocks of Regexes

  • Chapter
  • First Online:
Parsing with Perl 6 Regexes and Grammars
  • 773 Accesses

Abstract

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

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

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

Check for updates. 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

Publish with us

Policies and ethics