Anecdotes from a Linux Systems Administrator. /root

Home About Books Blog Portfolio Archive
4 August 2018

Introducing Regular Expressions

by Alpha01

Introducing Regular Expressions, is as it names implies, an introductory book to Regular Expressions. This book assumes you don’t have much knowledge in Regular Expressions. Regex’s are somewhat of an extremely complex topic, and although this book is just an introduction to them, I definitely learn a few new things.

This book starts of teaching the basic concepts of regular expressions, you’ll learn important regex concepts like character classes, metacharacters, grouping, backrefernces, quantifiers, etc. Each chapter progresses on top of what each topic was covered, so it’s not a good idea to skip ahead! I really enjoyed that practically all of the examples covered in this book were using grep, sed, and perl, since these are tools that I use practically almost on a daily basis.

I’ve been using regular expressions for almost as long as I’ve been using Linux (14+ years), and I’ve learned new topics that I wasn’t very much knowledgeable in like lookarounds. Also, I’ve been lucky to work only with ASCII characters for all the regular expressions that I’ve needed to write. This book does an excellent job describing how to work with Unicode characters using foreign language as examples. Finally, I learned how the the regex engine underneath the hood works when we pass in lazy, greedy, and possessive quantifier expressions to our regex patterns.

Rating: 3/5

Introducing Regular Expressions: Understanding Regular Expressions, Step-by-Step

Tags: [ regex ]