Patterns is the ultimate tool for working with regular expressions. Build great patterns quickly and effortlessly with regex syntax highlighting, live match view, replace mode, built-in quick reference, and much more. Whether you're a seasoned regex wizard or new to regex, Patterns is the only tool you'll ever need.
FEATURES:
- Regular expression syntax highlighting makes it easy to see how your pattern is interpreted by the regex engine. No more confusion about what needs to be escaped.
- The Matches view lets you inspect all matches and captured text produced by your regex, alongside your search text. Clicking on a match or group highlights both the matched search text and the specific portion of your regex that produced the match or capture.
- See matches, replacements, and filter results in real time while you edit your pattern.
- Use the Copy Code feature to quickly export your pattern for use in a number of different programming languages.
- The built-in regular expression quick reference sheet helps you learn and expand your knowledge of regex syntax.
- Customize the regex engine for different regex "flavors". Supported flavors are: Oniguruma, POSIX Basic (BRE), POSIX Extended (ERE), Perl (PCRE), emacs, Java, Ruby, bash, grep, and sed.
The major v1.2 update brings lots of useful new regex features, Dark Mode support for Mojave, and much more.
- The new Matches view lets you inspect all matches and captured text produced by your regex, alongside your search text. Clicking on a match or group highlights both the matched search text and the specific portion of your regex that produced the match or capture.
- The new Filter mode lets you filter the search text by lines that either match or don't match your regex.
- The regex engine can now be customised for different regex "flavors". Supported flavors are: Oniguruma, POSIX Basic (BRE), POSIX Extended (ERE), Perl (PCRE), emacs, Java, Ruby, bash, grep, and sed.
- New Copy Code modes: grep, sed, Swift, and Escaped Pattern.
- Ability to navigate through all matches using the new navigation buttons and keyboard shortcuts (Command-G and Command-Shift-G).
- Automatic detection and removal of extra backslash-escapes when pasting a regex from an external source.
- The replacement mode now highlights replaced text in the same style as in the search text.
- User interface improvements, performance enhancements for large files, improved regex syntax highlighting with more colors, bugfixes, and more.