Category: Unix

Stop Being Afraid Of Regular Expressions: 9 Essential Patterns You Should Learn

Regular expressions have a somewhat daunting reputation. Arguably one of the most useful inventions in computing history, they are nonetheless regarded with equal measures of awe and dread even by some experienced programmers. Why is this? Regular expressions are actually straightforward to understand and use. But their reputation has not been helped by people copying large and complex patterns from...

Advanced Wildcard Patterns Most People Don’t Know

If you’re a macOS Terminal or Linux shell user you may be familiar with simple wildcard patterns. But most people don’t know the more advanced patterns, which occupy a kind of netherworld between simple wildcards and their more complex cousins, regular expressions. In this article you’ll learn about these patterns and their hidden power.   In my article Think You Understand...