Reputation: 14553
I have the following bit of code:
CGFloat eyeBallColorComponents[4] = //some stuff that changes
I'd simply like to match any expression that has CGFloat eyeBallColorComponents[4] =
at the beginning of it no matter what is to the right of the equal sign. I'm using the XCode
regular expression find and replace. Anyone know how I can do this?
Upvotes: 0
Views: 203
Reputation: 5050
CGFloat eyeBallColorComponents\[4\] =.*
The .*
matches any characters up to the end of the line.
The \
is the escape character.
Upvotes: 1