Ar ais chuig Scileanna
SK

Tógálaí Regex

Poiblí 268 Úsáidí

Tóg, mínigh agus tástáil slonn rialta le miondealú soiléir.

Cruthaitheoir Shannon Official
Foilsithe 6 Eanáir 2026

Ábhar an leid

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.

Úsáid an scil seo i Shannon AI

Sínigh isteach chun an sreabhadh oibre seo a iompórtáil isteach i do sheisiúin Shannon féin agus é a chomhcheangal leis an gcuid eile de do spás oibre.

Maidir le Tógálaí Regex

Is scil phoiblí Shannon AI í Tógálaí Regex a osclaíodh 268 uair ag an bpobal. Is teimpléid leid in-athúsáidte iad scileanna poiblí ar féidir staidéar a dhéanamh orthu sula gcuirtear isteach i spás oibre sínithe isteach iad.

Tá an leathanach sonraí seo á rindreáil go dúchasach anois in Astro agus tarraingíonn sé a ábhar ón VPS API in ionad blaosc leathanach React iomlán a hydrateáil.