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

Regex kūrėjas

Viešas 268 Naudojimai

Kurkite, aiškinkite ir testuokite reguliariąsias išraiškas su aiškiu išskaidymu.

Kūrėjas Shannon Official
Paskelbta 2026 m. sausio 6 d.

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 kūrėjas

Regex kūrėjas 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.