8.6. Summary

Regular expressions let your users define patterns of characters. Any pattern of text is a language, so regular expressions form a metalanguage—a language for defining languages. Despite the word regular, there is no standard for how to parse regular expressions. You can craft a regular expression parser to meet the needs of your users.

Get Building Parsers with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.