Regular Expressions 101

Library entries

CamelCase parsing helper

Vote

1

Regular Expression
python

"
^ ( # Match one of these: [A-Z]?[a-z]+| # A possibly-capitalized identifier, or: [A-Z]+ # An ALL CAPS identifier... (?![a-z]) # ...not immediately followed by lowercase ) # and capture the rest of the string (.*?) $
"
xgm

Description

Loading markdown...
Submitted by Kevin - 7 years ago