Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
([+-]?\d+.)?|.(\d+)?[Ee]?[+-]?\d+[fFlF]?
/
gm

Description

The regular expression matches if the provided input is a regular expression matching the C floating-point constant or not.

Submitted by anonymous - 3 years ago