pseudodepseudonimizer_1.py 280 B

123456789
  1. def dots_repl(matchobject):
  2. global COUNTER
  3. numbered_dots = "{0} PSEUDOPSEUDOPSEUDO{2} {3}".format(matchobject.groups()[0], matchobject.groups()[1], COUNTER,
  4. matchobject.groups()[2])
  5. COUNTER += 1
  6. return numbered_dots