Patterns is a simple yet powerful tool for working with regular expressions. Build great patterns quickly and effortlessly with syntax coloring, and with matching and replacing occurring in real time.
- Regular expression syntax coloring makes it easy to see how your pattern is interpreted by the regex engine. No more confusion about what needs to be escaped.
- See matches and replacements in real time while you edit your pattern.
- Copy match and replacement code snippets of your pattern for quick use in a number of different programming languages.
- The built-in regular expression reference sheet helps you find the piece of regex syntax you need.
- Highlighting of matching parentheses for capture groups in regex editor
- Bugfixes and improvements
- Fixes an issue where quotes and dashes are substituted in the text fields
- Support for macOS 10.12 Sierra
- Hover over a match to view the contents of capture groups
- Restoration of app state on quit and relaunch
Ratings and Reviews
Fast, effective for building or validating a regex against sample data
I love Patterns. Drop in some real samples I want to match against, as well as any false positives (things that are matching that I don’t want to match). Type in some fake ones as well if desired. Then build up the regex, keeping the handy cheatsheet up as necessary. I like the iteration it allows me.
Only things missing IMO are: 1 - ability to save a workspace, my #1 desire. I’d love to save both regexes and the samples I test it against, for later refinement or sharing. 2 - would like it to keep a scratchpad, a history of iterations. Would make it even more freeing to experiment, go back and forth, and recover complicated bits after working out another section of logic. Right now, to solve both of these, I keep a text doc handy and copy out my work (patterns and example text) frequently so I have a record of work.
Enjoyable Way Experiment & Learn
I’ve used regular expressions off and on for the past few decades - they are indispensable for certain tasks, and huge time savers in others. But I don’t use them constantly, which means I often need a quick refresher to get things working just right.
That’s where this nicely crafted app comes in. I find it a quick, and intuitive way to re-familiarize myself with the arcane workings of regex expressions.
My compliments to Nikolai Krill for creating this gem!
Lots of potential, but very aggravating
I got this app to assist with constructing Regex terms. While it holds a lot of promise, there are two critical flaws. 1) There’s no way to save your work. By itself, that’s not a big deal. It becomes a big deal when the app crashes for no apparent reason. I’ve had the thing crash twice in the past 15 minutes after I’m close to getting a term done. If I had hair to pull out, I would. I hope the developer has Crashlytics installed so he/she can fix whatever the problem is.
With Family Sharing set up, up to six family members can use this app.