RegexEditor.dev Logo

Regex Editor & Tester

Build, test, and debug regular expressions

← Back to BlogFormal RE›Primitives
← prevnext →
1 / 44
∅Empty set ∅PrimitivesFormal RE✨ Emoji Combos

L(∅) = {} — no string is accepted, not even the empty string. ∅ is the identity element for union: r|∅ = r.

✓ Accepts
nothing — L = ∅
✗ Rejects
ahelloanything
Loading editor…