← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Regex Escape Sequences PHP 4.1+
Backslash sequences in regex that either match special characters literally or represent character classes, anchors, and control characters.
3w ago Regex intermediate
Catastrophic Backtracking PHP 5.3+ 🧠 2
A regex engine failure mode where certain patterns combined with specific inputs cause exponential backtracking, making the match take seconds or minutes — a common denial-of-service vector called ReDoS.
3mo ago Regex intermediate
Lookahead & Lookbehind PHP 5.3+
Zero-width assertions that match a position based on what precedes or follows it, without consuming characters — allowing conditions on surrounding context without including that context in the match.
3mo ago Regex intermediate
Named Capture Groups PHP 5.3+ 🧠 1
(?P<n>pattern) in PHP/PCRE for self-documenting regex — accessing matches by name instead of positional index.
3mo ago Regex intermediate
PCRE in PHP PHP 5.0+ 🧠 3
preg_match, preg_match_all, preg_replace, preg_split — and checking === false to distinguish errors from no-match.
3mo ago Regex intermediate
Regex Flags & Modifiers PHP 5.3+ 🧠 4
PCRE modifiers in PHP — i (case-insensitive), m (multiline), s (dotall), x (verbose), u (Unicode) — and their inline equivalents (?imsx).
3mo ago Regex intermediate
Unicode & Multibyte Regex PHP 5.3+ 🧠 2
The u flag enables UTF-8 mode and \p{} Unicode property classes — essential for correctly matching text in any language.
3mo ago Regex intermediate
Regex Syntax PHP 5.3+
Regular expression syntax — anchors, quantifiers, character classes, groups, and alternation — the building blocks for pattern matching in PHP and all languages.
3mo ago Regex intermediate
✓ schema.org compliant