Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-09-09 02:11
Flavor·PCRE (Legacy)

/
^.?$|^(..+?)\1+$
/
gm
Open regex in editor

Description

Find primes

Submitted by anonymous