UsageΒΆ
To use retools in a project:
import retools
words = ['she', 'he', 'her', 'hemoglobin']
retools.condense(words) # 'he(moglobin|r)?|she'
To use retools in a project:
import retools
words = ['she', 'he', 'her', 'hemoglobin']
retools.condense(words) # 'he(moglobin|r)?|she'