Regular Expressions 101

Library entries

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

Vote

1

Regular Expression
pcre

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

Description

Loading markdown...
Submitted by Zak - 5 years ago