Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-02-21 10:05
Flavor·PCRE2 (PHP)

/
([+-]?\d+.)?|.(\d+)?[Ee]?[+-]?\d+[fFlF]?
/
gm
Open regex in editor

Description

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

Submitted by anonymous