Regex-Erklärer

Erkläre einen Regex pro Token, prüfe Flags und sieh die grundlegenden Strukturwerte.

Regex-Erklärer

Gib Regex-Muster und Flags ein, um eine Erklärung pro Token zu sehen.

Beispiel: `^(?:https?):\/\/[\w.-]+$` mit `i`

Zusammenfassung

Gültiger Regex
This pattern uses 2 anchors, contains 1 group, contains 1 character class, uses 2 quantifiers, runs with i flag.
Gruppen
1
Zeichenklassen
1
Quantifier
2
Alternationen
0
Anker
2

Flag-Erklärungen

icase-insensitive

Token-Erklärungen

^
Start anchor

Requires the match to start here.

(?:
Non-capturing group

Groups tokens without storing a capture.

h
Literal

Matches the literal character "h".

t
Literal

Matches the literal character "t".

t
Literal

Matches the literal character "t".

p
Literal

Matches the literal character "p".

s
Literal

Matches the literal character "s".

?
Zero or one

Makes the previous token optional.

)
Group end

Closes the current group.

:
Literal

Matches the literal character ":".

\/
Escaped token

Escapes the next character or token.

\/
Escaped token

Escapes the next character or token.

[\w.-]
Character class

Matches one character from the listed set or range.

+
One or more

Repeats the previous token at least once.

$
End anchor

Requires the match to end here.

Was macht das Tool?

Es zerlegt einen Regex in kleinere Teile und erklärt die Bedeutung jedes Tokens.

Was deckt v1 ab?

Diese Version arbeitet vollständig deterministisch und erzeugt sofortige Erklärungen ohne KI-Schicht.