def FixVCMacroSlashes(s):
 if ('$' in s):
  s = fix_vc_macro_slashes_regex.sub('\\1', s)
 return s

def FixVCMacroSlashes ( s ) : if ( '$' in s ) : s = fix_vc_macro_slashes_regex . sub ( '\\1' , s ) return s
replace macros which have excessive following slashes .