>>>Well,
>>>:g/^\(.\{8}\)\(.*\)\n\(\s{8}\)/s//\1\2\r\1/
>>>       ^
>>>works, but I'd have to run it 12 times if there are twelve blanks
>>>after the filled in line.

>>Hm?  Not sure why you escaped the '{'.  Apparently didn't need to  
>>after
>>the "\s".

>You are right - it was a typo - I actually need to escape both of them
-

>:g/^\(.\{8}\)\(.*\)\n\(\s\{8}\)/s//\1\2\r\1/
>        ^                 ^

Ah, lookit that...  '[' is normally magic unless you escape it to
literal text, and '{' is normally literal text unless you escape it to
magic.  Eerie, don't think I had occasion to put that to the test
before.

Hah, learn something new every day...

Been using "{#}" notation in lex/js/perl so long, don't think I had
occasion to actually use them in 'vim', else I would've run into that
problem before.

Reply via email to