I can't seem to get SciTE to regex replace for me. All I'm trying to do is stick a '_' in front of every line where the start of the line has [a-zA-Z].
If I use ^[a-zA-Z] in the search field, it pics it up. But no matter what I put in the Replace field after the underscore, it replaces the first character with the underscore instead of sticking the underscore in front. I think the '^' denoting start of line is messing me up.
Seems like it should be something simple that's done all the time. Damned if I can figure it out though.
Here's an example. I have functions like
MyFunc(param)
SomeFunc(param)
ThisFunc(param)
After the replacement I should have
_MyFunc(param)
_SomeFunc(param)
_ThisFunc(param)
Why is it so difficult?








Logged








