Maybe my RE-fu is strong today, but this seems fairly easy to follow - just a matter of breaking it down: GIR special case (permitted letter groups starting with each letter of alphabet) number (and additional following number) London variants (E, EC, etc) etc... However, I personally would have split the London codings away from the rest, as this RE permits say "YO1EC4 1XY" which is nonsense.