ffho.py 243 B

12345678910
  1. import re
  2. def re_replace (pattern, replacement, string):
  3. return re.sub (pattern, replacement, string)
  4. def re_search (pattern, string, flags = 0):
  5. return re.search (pattern, string, flags)
  6. def is_bool (value):
  7. return type (value) == bool