Jump to content
  • Advertisement
Sign in to follow this  
soconne

VS Find/Replace & regular expressions

This topic is 3469 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm attempting to change "set<Name>" to "<Name>" in hundreds of locations in my source files. The problem is every instance has a capital letter after "set" (i.e. setPosition, setSize, ect...) Using Visual Studio's Find/Replace with regular expressions, I'm using the following for the Find, "set{:Lu}". For the Replace, I've only come up with "\1", which just produces the following: "Position, Size, ect..." I would like to convert those to lower case letters. How do I convert the "\1" term to lower case?

Share this post


Link to post
Share on other sites
Advertisement
AFAIK you can't do that kind of transformation, at least without explicitly doing a search and replace with A-Z individually.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!