Skip to main content

Regex Techniques

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

Abstract

The previous chapters have introduced many regex constructs that you can use to build your regexes, and have explained how they work. But that alone doesn’t tell you how to structure your regex for the best results. This chapter provides such guidance.

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.

    http://json.org/

  2. 2.

    https://en.wikipedia.org/wiki/INI_file#Example

  3. 3.

    https://docs.perl6.org/language/testing

  4. 4.

    https://testanything.org/

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

Download citation

Publish with us

Policies and ethics