regex SKILL.md skillA

regex from bug-ops/zeph is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bug-ops/zeph/regex@v1.0

Pins v1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
bug-ops/zeph
Path
.zeph/skills/regex/SKILL.md
Versions recorded
3
Latest version
v1.0, committed Mar 30, 2026
First version recorded
Mar 21, 2026
Size
10,521 bytes
Repository stars
66
License
MIT

Write, test, and debug regular expressions for pattern matching, search, and text extraction across programming languages. Use when the user asks to match patterns in text, validate input formats (email, URL, IP, phone, date), extract data with capture groups, build search patterns with lookahead or lookbehind, or understand regex syntax differences between PCRE, POSIX, JavaScript, Python, and Rust flavors.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Regular Expressions Reference

## Quick Reference

| Pattern | Matches |
|---------|---------|
| `.` | Any character (except newline) |
| `\d` | Digit [0-9] |
| `\w` | Word character [a-zA-Z0-9_] |
| `\s` | Whitespace (space, tab, newline) |
| `\D`, `\W`, `\S` | Negated versions |
| `^` | Start of line |
| `$` | End of line |
| `\b` | Word boundary |
| `*` | 0 or more |
| `+` | 1 or more |
| `?` | 0 or 1 (optional) |
| `{n}` | Exactly n |
| `{n,m}` | Between n and m |
| `[abc]` | Character class |
| `[^abc]` | Negated character class |
| `(...)` | Capture group |
| `(?:...)` | Non-capturing group |
| `a\|b` | Alternation |

## Character Classes

### Shorthand Classes

| Class | Equivalent | Matches |
|-------|-----------|---------|
| `\d` | `[0-9]` | Digit |
| `\D` | `[^0-9]` | Non-digit |
| `\w` | `[a-zA-Z0-9_]` | Word character |
| `\W` | `[^a-zA-Z0-9_]` | Non-word character |
| `\s` | `[ \t\n\r\f\v]` | Whitespace |
| `\S` | `[^ \t\n\r\f\v]` | Non-whitespace |
| `\h` | `[ \t]` | Horizontal whitespace (PCRE) |
| `\v` | `[\n\r\f\v]` | Vertical whitespace (PCRE) |

### POSIX Classes (use inside `[...]`)

| Class | Matches |
|-------|---------|
| `[:alpha:]` | Letters |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bug-ops/zeph/regex@sha256:291c2584687c3a44

The line at the top of this page pins the label v1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_f6sgwv4ck3qvoa3q.svg)](https://markdownregistry.com/a/art_f6sgwv4ck3qvoa3q)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Mar 21, 2026 and Mar 30, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
v1.0 latest2026-03-30 c68c5de 10,521 BA view · diff
v1.02026-03-21 f1a698c 10,506 BA view · diff
v1.02026-03-21 a3fbaa5 10,507 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10521 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

bug-ops/zeph · 66 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_f6sgwv4ck3qvoa3q
GET https://markdownregistry.com/api/v1/resolve?ref=bug-ops/zeph/regex
GET https://markdownregistry.com/api/v1/blob/291c2584687c3a440c17495bee37787c9e9ec244268e8773df02200aaf70ddb2

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from bug-ops/zeph

AGENTS.md@.github AGENTS.md file
bug-ops/zeph · .github/AGENTS.md
git:20260606.583c571 · audit A · 66 stars
api-request SKILL.md skill
bug-ops/zeph · .zeph/skills/api-request/SKILL.md · Send HTTP API requests using curl. Use when the user asks to call an API, fetch data from a URL, send…
v1.0 · audit A · 66 stars
archive SKILL.md skill
bug-ops/zeph · .zeph/skills/archive/SKILL.md · Create, extract, list, and convert compressed archives using tar, zip, gzip, bzip2, xz, zstd, and 7z. Use when the user…
v1.0 · audit A · 66 stars
browser SKILL.md skill
bug-ops/zeph · .zeph/skills/browser/SKILL.md · Browser automation via Playwright MCP — navigate pages, click elements, fill forms, take screenshots, extract text…
v1.0 · audit B · 66 stars
caveman SKILL.md skill
bug-ops/zeph · .zeph/skills/caveman/SKILL.md · Switch to ultra-compressed, telegraphic output. Use when the user asks for terse, brief, minimal, "caveman", or…
v1.0 · audit A · 66 stars
code-analysis SKILL.md skill
bug-ops/zeph · .zeph/skills/code-analysis/SKILL.md · LSP-based code analysis via mcpls MCP server. Use for compiler-accurate type inspection, go-to-definition…
v1.0 · audit A · 66 stars
cron SKILL.md skill
bug-ops/zeph · .zeph/skills/cron/SKILL.md · Schedule recurring and one-time tasks using cron, crontab, at, and launchd. Use when the user asks to set up scheduled…
v1.0 · audit A · 66 stars
database SKILL.md skill
bug-ops/zeph · .zeph/skills/database/SKILL.md · Query and manage SQLite, PostgreSQL, and MySQL databases from the command line. Use when the user asks to run SQL…
v1.0 · audit A · 66 stars
docker SKILL.md skill
bug-ops/zeph · .zeph/skills/docker/SKILL.md · Manage Docker containers, images, volumes, networks, and Compose stacks. Use when the user asks to build, run, stop…
v1.0 · audit A · 66 stars
file-ops SKILL.md skill
bug-ops/zeph · .zeph/skills/file-ops/SKILL.md · File system operations — list directory contents, find files by name or glob pattern, search text inside files with…
v1.0 · audit A · 66 stars
git SKILL.md skill
bug-ops/zeph · .zeph/skills/git/SKILL.md · Run git version control commands for repository management. Use when the user asks to check status, view history or…
v1.0 · audit A · 66 stars
github SKILL.md skill
bug-ops/zeph · .zeph/skills/github/SKILL.md · GitHub CLI (gh) for repository management, issues, pull requests, releases, workflows, search, gists, and API access…
v1.0 · audit A · 66 stars

Every file in bug-ops/zeph

Other files named regex

regex SKILL.md skill
dhaupin/vant · models/public/vant/skills/vant-skill-regex/SKILL.md · Pattern matching.
v1.0 · audit A · 15 stars

Browse by kind, by grade A, or by owner.