ARE YOU SPENDING TOO MUCH TIME FIDDLING WITH REGULAR EXPRESSIONS?
Regular expressions are incredibly useful: They let you search through huge quantities of text, extracting only the things that are useful to you.
For decades, programmers have used regular expressions to examine logfiles, retrieve portions of user input, and replace text that follows complex rules.
Indeed, in many cases, regexps can be a real life saver.
Need to figure out if certain types of private information are in your logfiles? Or handle input from poorly written APIs, whose contents vary from release to release? Or find out which disks are close to filling up?
These are the sorts of problems that regexps can solve quickly, easily, and elegantly.
SO WHAT'S NOT TO LIKE ABOUT REGULAR EXPRESSIONS?
Have you ever known a developer who needed to use a regexp to solve a crucial, time-boxed problem, at work?
They know that you can get it...if they just add parentheses here. Or a plus sign there. Or a question mark at the end. Or something.
They spend hours fiddling—trying to figure out the proper syntax and searching online and plugging in snippets that may or may not work.
It's a tedious and time consuming system, and even worse, guarantees that their regexp won’t quite do what they want...
No wonder so many people give up before they master regular expressions!
HOW DO YOU GET BACK YOUR CODING TIME?
Some developers try to learn regexps via books and websites. But most of those resources just throw some syntax at you, and tell you that you’ll be set.
I know from experience that this system doesn’t work (both from when I started to program, to more than a decade of teaching regexps at major high-tech companies around the world).
Just as reading a single grammar book won't teach students a foreign language, developers can’t learn regular expressions from memorizing the syntax alone.
So, how do developers master regexps? They treat it as a language—and then practice, practice, practice.
There’s no substitute for practice when it comes to regular expressions.
Moreover, once you do practice them, you start to internalize their structure and power. And then you start to see more and more places in which regexps can solve problems, more quickly than you ever imagined.
You can get your own work done faster because you have the right tools to attack the problem, and you line yourself up for good things, like promotions and tackling that side project application you always dreamed of creating.
SO, ARE YOU READY TO START PRACTICING & GET YOUR CODING TIME BACK?
Practice Makes Regexp doesn’t aim to teach developers regular expressions.There are other books and resources for that.
Rather, this course aims to take a fledgling knowledge of regexps, and make regexps fluent and natural!
Here's what you get:
- 50 regexp exercises, solutions, and explanations...
- all in a 175 page ebook...
- in PDF, ePub and .mobi formats
Plus, for higher packages...
- Data files for each exercise
- 300 slides from a 2-day regexp course
- Most impressively: The best five hours of regular expressions you'll find online!
This course's primary goal is to help developers master regexps, so that they can use them in their work with speed and confidence.
No matter which of these languages you use, this course will help you to do your work faster and better, working fluidly with text and extracting precisely what you need.
If you have been struggling to use regular expressions in your work, then I believe Practice Makes Regexp is the course that you’ve been waiting for.
FEEDBACK FROM REUVEN LERNER'S LAST BOOK
Practice Makes Python
Growing up in Michigan, with a desire—but little opportunity to swim, I read a book about swimming when I was about 11 or 12 years old. However, reading that book—as good as it was—did not teach me to swim.
Our family then moved to Phoenix, Arizona where there were many large public swimming pools. Suddenly my opportunities to swim dramatically increased.
I decided to simply copy someone in the pool who was swimming, and before long I was swimming as well! Thus, I claim the only way to learn to swim is to swim, and better yet, to learn by watching someone who has been swimming for some time.
Reuven Lerner's great book, Practice Makes Python (PMP), is one of the best ways I know of to learn to swim in the world of Python coding fluency.
I have now done about 40 of the exercises in the book. It is clear that Reuven knows how to swim. Reading his exercise challenges, trying to write my own solutions, or glancing at Reuven’s solution to get ideas, but still writing my own solutions, has been a practical technique to greatly improve my Python fluency. It is working for me!
November 18, 2015
WHAT MAKES PRACTICING SO SPECIAL?
I’m Reuven Lerner, a software developer with more than 20 years of experience working with regexps.
For more than 10 years, I have taught regexps to hundreds of people in the United States, Europe, Israel, and China. Companies such as Apple, Cisco, HP, SANDisk, and VMWare invite me back again and again to teach their staff.
I'm also the author of Practice Makes Python, a best-selling book of Python exercises, similar to the structure of my new book—Practice Makes Regexps.
I first learned regexps more than 20 years ago when I was using the Perl programming language.
But that was my second time trying to learn regexps...
My first attempt was an utter failure, because I didn’t understand what the regexps were meant to do, or how the different metacharacters and capabilities fit with each other.
To correct the types of issues I had when starting out, the exercises in this book draw on my decades of experience using regexps to solve real problems, and the mistakes I made.
Plus, this course (and all of my teaching), is informed by my experiences as a programmer, a writer, a lecturer, as well as my PhD in learning sciences.
I have studied how people learn, individually and in groups, and apply that knowledge in my courses and my writing.
If you solve these exercises, I hope that you’ll gain the insights that took me 20 years—but much more quickly.
If you are already using regexps at work, then you’ll use them more intelligently, with a deeper understanding.
And if you were hoping to master a language like Python, then this course (especially the screencasts included with the biggest package) will give you the skills you need to do so.
These exercises are based on my many times teaching regular expressions to programmers around the world.
I’ve seen what works (and what doesn’t), and I aim for the exercises to be interesting and fun, as well as useful.
Again: This course isn’t for everyone. It assumes that you have already learned something about regular expressions from another course or book.
However, it also assumes that even after learning the basics of regular expressions, you’re still finding it hard to apply them in your day-to-day work.
This course is designed to take someone who, kind of, sort of knows regular expressions, but needs help to become a regexp master.
FEEDBACK FROM REUVEN LERNER'S LAST BOOK
Practice Makes Python
Hi Dr. Lerner,
I just wanted to let you know that I finished all of the exercises in your book, Practice Makes Python. They are all fantastic, and going through them has provided tremendous value for me!
I've mostly been writing imperative (scripting) code, with a few functions here and there (I work as a Data Scientist), so the "Objects" and "Iterators and Generators" chapters tripped me up, mostly due to me not being aware of methods like __str__(), __iter__() and next() at all.
(Actually, I never even knew iterators were objects - serves me right for just learning Python from tutorials and beginner's books, and then just hacking away.)
Otherwise, I found all the exercises very well put-together, with good explanations of what was expected as a result of the code.
I'm looking forward to your next problem book on regexp!
All the best,
CHOOSE A PACKAGE
Screencasts + Workbook + Data & Solution Files + Exclusive Presentation
- 50 (five hours of video) of me explaining each regexp solution
- 200-page workbook, with 50 exercises, solutions, and explanations
- Data files for the exercises
- 300 slides from my 2-day, exclusive regexp course
- Book updates as they are released
- Video updates as they are released
- Slide updates as they are released
- 60-day money-back guarantee*
- Buy now
I offer a 60-day money-back guarantee. In fact, I refunded my first customer.
He originally bought the book, and sent me email saying, "I'm not a happy customer. I cannot download the files for the book."
It turns out that I had forgotten to upload the Consultant Package to Gumroad.
So I quickly refunded this customer, uploaded the missing files, and double-checked everything was finally in order.
Also, to compensate him for his frustration, I sent the customer a personal coupon code for 15% off, and let him know that I really appreciated him finding this bug (I figured that, if nothing else, he was helping make the book significantly better).
Surprisingly, he immediately repurchased the book, and quickly emailed a thank you—telling me that he's now a happy customer.
* * * * *
Besides him, I don't think that I've ever had any refunds for any of my books.
Regardless: If you're not completely happy with your purchase, I'll happily refund your entire purchase.