Regular Expressions 101

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(00|1|(01|10)((00)*|1*)(0|01*))
/
mg

Description

L1 = {w ∈ Σ ∗ = {0, 1} ∗ | |w|0 = 2k, k ∈ N}

Submitted by Alan Dantas - a year ago