regex

Write, test, and explain regular expressions across PCRE, JavaScript, Python, and Rust.

55|4|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/bug-ops/zeph --skill regex-bug-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: regex
Source: https://github.com/bug-ops/zeph/tree/main/.zeph/skills/regex
Command: npx skills add https://github.com/bug-ops/zeph --skill regex-bug-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Regex challenges are common when validating formats, extracting data, or porting patterns across languages. This skill provides practical guidance to write, test, and understand regular expressions in PCRE, JavaScript, Python, and Rust, with flavor-aware notes and quick references.

Core Features & Use Cases

  • Cross-language regex syntax reference and examples for quick lookups.
  • Pattern validation and data extraction workflows for emails, URLs, dates, and captures.
  • Step-by-step debugging tips and real-world scenarios to port patterns between languages.

Quick Start

Use a target pattern and input text to generate, test, and refine a regex, then review the matches and edge cases for accuracy.

Frequently Asked Questions about regex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a regex pattern to validate emails, URLs, and dates?

To write a regex for validating emails, URLs, and dates, this skill generates pattern validation workflows and practical examples. It helps you test input text, review matches, and refine the regex to handle edge cases accurately.

What is the best way to port regular expressions between Python and JavaScript?

To port regular expressions between Python and JavaScript, use flavor-aware guidance and cross-language syntax references. This skill provides step-by-step debugging tips to translate patterns accurately between PCRE, JavaScript, Python, and Rust.

Can I use this skill to extract specific data fields from code and logs?

Yes, you can use this skill for data extraction from code and logs. Supply a target pattern and input text to generate, test, and refine regular expressions that capture specific data fields across PCRE, JavaScript, Python, and Rust.

Why does my regex pattern work in PCRE but fail in Rust?

Your regex pattern may fail in Rust due to syntax differences across flavors. This skill provides flavor-aware notes and quick references to identify cross-language discrepancies and adjust syntax for robust regex solutions.

How do I test and debug a regular expression for edge cases?

To test and debug a regular expression for edge cases, provide a target pattern and input text. This skill helps you generate, test, and refine the regex, delivering step-by-step debugging tips to review matches and ensure accuracy.