[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: multi line regex's in vi ...

> I'm no pro, but the following, without squashing works. And yes, I know
> that at the end of the file it might give an error.

> :g/^ *$/+1 s/^ *[^ ]/<p>&/

that does indeed do the trick!  now i just have to decipher the regex so i
understand it.


Reply to: