Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/content/dictionary/glob.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: ../../layouts/word.astro
title: "Glob"
---
A glob (short for **global**) is a pattern-matching syntax used to identify sets of filenames or paths with the help of wildcard characters such as `*` and `?`.

It provides a simplified way to match multiple files without listing them individually, making it common in command-line operations, scripting, and configuration files. Unlike regular expressions, globs are limited in scope but easier to use for file-matching tasks.

**Example**

* `*.js` matches all JavaScript files in the current directory.
* `images/*.png` matches all PNG images inside the *images* folder.