Cover image
Blog iconDukeLuo
Jan 16

Using Glob Patterns to Match Common Naming Conventions

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`.

DukeLuo

Written by
DukeLuo

Why not be a programmer

Subscribe

2025 Paragraph Technologies Inc

PopularTrendingPrivacyTermsHome
Search...Ctrl+K

DukeLuo

Subscribe