Regular Expressions 101

Community Patterns

External OR operator

1

Regular Expression
PCRE (PHP <7.3)

/
(((a|b)*aa(a|b)*)|((a|b)*aa(a|b|c)*))
/

Description

Why doesn't recognize the second pattern after pipe | ?

Submitted by Fede e Walter - 9 years ago