Regular Expressions 101

Single percent symbols, that NOT corresponds to C++ printf format

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

/
(?:[^%]|%%)+(%)(?!%|(?<flags>[-+#0])?(?<width>\d+|\*)?(?:\.(?<precision>\d+|\*))?(?:(?<specifier>[diuoxXfFeEgGaAcspn]))|(?<length>[hljztL]|hh|ll)(?P=specifier))
/
g

Description

No description provided.

Submitted by Zak