Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
Python

r"
(?:(.*)\s+(&|\*)\s*const|(.*)(?:\s+)const(?:\s*)(&|\*)?)$
"
mg

Description

just as god intended. "T const*" -> "const T*"

Submitted by SpaghettDev - 5 months ago (Last modified 4 months ago)