Skip to main content

Maintaining Regular Expressions

  • Chapter
  • First Online:
  • 1516 Accesses

Abstract

There is a common fear in the industry of writing and maintaining regular expressions. This is because as an expression becomes bigger, reading it gets harder.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   44.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

Learn about institutional subscriptions

Notes

  1. 1.

    https://en.wikipedia.org/wiki/Rinderkennzeichnungs-_und_Rindfleischetikettierungs%C3%BCberwachungsaufgaben%C3%BCbertragungsgesetz

  2. 2.

    Source: https://stackoverflow.com/questions/5142103/regex-to-validate-password-strength . I slightly modified the expression to allow passwords longer than eight characters. I also changed the minimum number of lowercase letters from three to two.

  3. 3.

    https://github.com/slevithan/xregexp

  4. 4.

    https://github.com/slevithan/xregexp

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Zsolt Nagy

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Nagy, Z. (2018). Maintaining Regular Expressions. In: Regex Quick Syntax Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3876-9_9

Download citation

Publish with us

Policies and ethics