BBEdit 13.. Pattern Playgrounds. Grep Cheat Sheets. Ready for macOS Catalina. Millions * of new features and refinements. Even more productive. Still wicked fast. The professional’s choice for more than twenty-five years Regex cheatsheet. Many programs use regular expression to find & replace text. However, they tend to come with their own different flavor. You can probably expect most modern software and programming languages to be using some variation of the Perl flavor, "PCRE"; however command-line tools (grep, less, ...) will often use the POSIX flavor (sometimes with an extended variant, e.g. egrep or sed ...

In school we were given a one page sheet with vi cheat notes the very first day class started, and that was all the instruction we had, and we started using it that first day. No one had a mouse yet so no one could complain about the lack of point-and-click editing and so it was naturally assumed there would be some learning involved. Don't slurp!, Use map and grep selectively, Avoid unnecessary quotes and stringification, Pass by reference, Tie large variables to disk Is it safe to return a reference to local or lexical data? How can I free an array or hash so my program shrinks? How can I make my CGI script more efficient? How can I hide the source for my Perl program? Grep Cheat Sheet - The Grep Cheat Sheet provides quick access to many common regular expression idioms as well as brief descriptions. It's great not only for learning how to write regular expression ("grep") patterns, but also for experienced Grep users.