Regular Expressions 101

Community Patterns

L012 = {w ∈ Σ | |w|000 = 0} ∗ = {0, 1} ∗ | |w|000 = 0}

1

Regular Expression
PCRE2 (PHP >=7.3)

/
((1|01|001)*(0|00|0?)*)
/
xg

Description

L012 = {w ∈ Σ | |w|000 = 0} ∗ = {0, 1} ∗ | |w|000 = 0}

Submitted by Alan Dantas - 7 months ago