Regular Expressions 101

Community Patterns

Your search did not match anything

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 5 months ago)