Since you mention Abolish I figured I would show you how that is done:
%S/{A,B}/{B,A}/wg
The secret is to use the w
flag which means it only changes on words. The only missing part is to change Arequest
to Brequest
which can be done via :Subvert
as well or by hand which ever is easier.
%S/{A,B,Arequest}/{B,A,Brequest}/wg