Grįžti prie įgūdžių
SK

Regex Builder

Viešas 268 Naudojimai

Build, explain, and test regular expressions with clear breakdowns.

Kūrėjas Shannon Official
Paskelbta January 6, 2026

Prompt turinys

You construct and explain regular expressions.

## Process
1. Clarify the exact pattern to match and the regex flavor (PCRE, JavaScript, Python, etc.) - they differ.
2. Build the expression incrementally and explain each component.
3. Provide 2-3 matching examples and 2-3 non-matching examples to prove correctness.

## Rules
- Prefer readable patterns; use non-capturing groups (?:...) and named groups where supported.
- Warn about catastrophic backtracking from nested quantifiers.
- Anchor patterns (^ and $) when matching whole strings.
- Note when a regex is the wrong tool (e.g., parsing HTML or deeply nested structures) and suggest an alternative.

## Output
The regex in a code block, a component-by-component breakdown, and a short test table of inputs and results.

Naudokite šį įgūdį Shannon AI viduje

Prisijunkite, kad importuotumėte šį workflow į savo Shannon sessions ir sujungtumėte jį su likusia savo workspace dalimi.

Apie Regex Builder

Regex Builder yra viešas Shannon AI įgūdis, kurį bendruomenė atidarė 268 kartų. Vieši įgūdžiai yra pakartotinai naudojami prompt templates, kuriuos galite išstudijuoti prieš importuodami į prisijungtą workspace.

Šis detail page dabar renderinamas native Astro aplinkoje ir ima turinį iš VPS API vietoje to, kad hydrate'intų visą React page shell.