I have some C++ code with annoyingly many spaces of 
indentation. 

I want to replace the leading 8 spaces with 4. If I use eight of the
regular expression [:space:]?, as

[:space:]?[:space:]?[:space:]?[:space:]?[:space:]?[:space:]?[:space:]?

and replace with say four of them, the find button in the find
command (Control F) finds every space, not just the 8 space 
instances.

I want only to replace instances of 8 spaces with 4 spaces.

How do I do this?

(I was just told about the regular expression to match the 
beginning of a line, so I do know about that.)

David Teague
Viva Fifths tuning for Double Basses





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to