Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^((?>(.)(?:\2{2,}|\2(?1)?\2\2?|(?1)?\2{2}))+)$
/
gm

Description

Tests if a Zuma board can be cleared completely

Submitted by wheatup - 9 months ago (Last modified 9 months ago)