Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(?:amd|x86_)64|[ix]\d?86(?:pc|-AT386)?
/
g

Description

Matches any uname machine string for x86 architectures. Developed for https://github.com/P-H-C/phc-winner-argon2/pull/113

Submitted by @ranisalt - 9 years ago