FWIW:
After playing around with this, I have found that it's better to use the backslash before the dots. I also use a carrot before the A.
I use this now:
Code:
:%s/\(^A\. .*\)\n/\1\rB. /
Of course there are a lot of ways to do this. Some methods may not require a backslash before the dot.
The way I used to do this, has caused some trouble.
Code:
%s/\v(A. .*\n)(.*)$/\1B. \2/g
or
Code:
%s/\(A..*\_s\)/\1B. /g
In either of those methods, if the line started with An or an As, it might not work.
With the second method, if the line had an A[any char] anywhere in the line, it would put a B at the beginning of the next line.