ENع
الدرس S1 · Special topics

Regular expressions

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

A regular expression is a small pattern that describes text: a word, any digit, three letters in a row, something at the very end. Step through ten lines of Python and watch the re engine move a pointer along a string one character at a time, back up when a guess fails, and hand back what it found. Then see the one pattern shape that can take minutes to fail, and when plain string methods are the better tool.

12 دقيقة10 خطوات5 أسئلةIntermediate
شكل S1 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.