-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi All
I'm trying to work out if it's possible to refer to 'the previous
line' in a regex.
e.g. if the first 8 characters of a line are blank,
^\s{8}
replace them with the 8 characters at the start of the previous line.
Ideally it would handle a line a time, thus multiple blank line
starts would be filled in with the last non blank start.
Hoping that made sense...
Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org
iD8DBQFGSy1kGnOmb9xIQHQRAuXcAKCvQL9kHdr/xKhkgp5jve6NPNJqgQCgmQRw
LcscyQAMfFMdMQadBAg8vmQ=
=1lwZ
-----END PGP SIGNATURE-----