# Using Glob Patterns to Match Common Naming Conventions **Published by:** [DukeLuo](https://paragraph.com/@dukeluo/) **Published on:** 2022-01-16 **URL:** https://paragraph.com/@dukeluo/using-glob-patterns-to-match-common-naming-conventions ## Content Glob patterns are commonly used to match filenames, and they are simpler and easier to understand than regular expressions. It also can match arbitrary strings. We will use glob patterns to match 6 common naming conventions in this article, including `CAMEL_CASE`, `PASCAL_CASE`, `SNAKE_CASE`, `KEBAB_CASE`, `SCREAMING_SNAKE_CASE` and `FLAT_CASE`. ## Publication Information - [DukeLuo](https://paragraph.com/@dukeluo/): Publication homepage - [All Posts](https://paragraph.com/@dukeluo/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@dukeluo): Subscribe to updates