Cover of Mastering Regular Expressions

Mastering Regular Expressions

Regular expressions are a powerful tool for manipulating text and data. If you don't use them yet, you will discover in this book a whole new world of mastery over your data. If you already use them, you'll appreciate this book's unprecedented detail and breadth of coverage. If you think you know all you need to know about regular expressions, this book is a stunning eye-opener.

With regular expressions, you can save yourself time and aggravation while dealing with documents, mail messages, log files — you name it — any type of text or data. For example, regular expressions can play a vital role in constructing a World Wide Web CGI script, which can involve text and data of all sorts.

Read more

Regular expressions are not a tool in and of themselves, but are included as part of a larger utility. The classic example is grep. These days, regular expressions can be found everywhere, such as in:

Scripting languages (including Perl, Tcl, awk, and Python)

Editors (including Emacs, vi, and Nisus Writer)

Programming environments (including Delphi and Visual C++) While many of these tools originated on UNIX, they are now available for a wide variety of platforms, including DOS/Windows and MacOS, so you can use them in your home environment. Additionally, many favorite programming languages offer regular-expression libraries, so you can include support for them in your own programs, and yes, even applets.

There can be certain subtle, but valuable, ways to think when you're using regular expressions, and these can be taught. Jeffrey Friedl has spent years helping people on the Net understand and use regular expressions. In this book he leads you through the steps of knowing exactly how to craft a regular expression to get the job done.

Regular expressions are not used in a vacuum. In this book, a variety of tools are examined and used in an extensive array of examples, with a major focus on Perl. Perl is extremely well endowed with rich and expressive regular expressions. Yet what is power in the hands of an expert can be fraught with peril for the unwary. This book will help you navigate the minefield to becoming an expert.

Subject
science
Themes
technologywork
Audience
adult
Length
medium · 368 pages

Click a tag to see books like this one that share it.

Read it? Sign in to help tag it.

Liked Mastering Regular Expressions? Here’s where I’d start.

These suit anyone who liked Mastering Regular Expressions. Sign in and mark a few books for picks shaped around your own taste.

  1. sed & awk Shares programming, technical, computer
  2. Regular Expressions Cookbook Shares programming, technical, tech
  3. Learning Perl Shares technical, computer, programming
  4. Programming Perl Shares programming, tech, technical

“People who read Mastering Regular Expressions tend to reach for these next.”

  1. Learning the vi and Vim Editors
  2. UNIX Power Tools
  3. Learning the bash Shell
  4. Programming Python

“If you want more of the same (science about technology), start with these.”

  1. Reversing: Secrets of Reverse Engineering
  2. C++ Pocket Reference
  3. Concepts, Techniques, and Models of Computer Programming
  4. Programming Entity Framework

“If it was the programming that hooked you, try one of these.”

  1. 97 Things Every Programmer Should Know: Collective Wisdom from the Experts
  2. Beautiful Code: Leading Programmers Explain How They Think
  3. Coders at Work: Reflections on the Craft of Programming
  4. Seven Languages in Seven Weeks

“These start from a similar idea, even if they go somewhere else with it.”

  1. Regular Expression Pocket Reference
  2. Introducing Regular Expressions
  3. Beginning Linux Programming
  4. Head First Programming: A Learner's Guide to Programming Using the Python Language