شارح Regex

اشرح regex رمزًا برمز، وراجع الرايات والإحصاءات البنيوية الأساسية.

شارح Regex

أدخل نمط regex والرايات للحصول على شرح لكل token.

مثال: `^(?:https?):\/\/[\w.-]+$` مع `i`

الملخص

Regex صالح
This pattern uses 2 anchors, contains 1 group, contains 1 character class, uses 2 quantifiers, runs with i flag.
المجموعات
1
فئات الأحرف
1
المكررات
2
التفرعات
0
المراسي
2

شرح الرايات

icase-insensitive

شرح الرموز

^
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.

ماذا تفعل الأداة؟

تقسم regex إلى أجزاء أصغر وتشرح معنى كل token.

ما نطاق الإصدار الأول؟

هذا الإصدار deterministic بالكامل ويعيد الشرح فورًا من دون طبقة AI.