djdb/search.py
def scrub(text):
    """Normalizes a text string for use in indexing and searching."""
    # Strip out interior periods.
    text = _COLLAPSE_INTERIOR_PERIODS_RE.sub(r"\1\2", text)
    chars = [_scrub_char(c) for c in text]
    return "".join(chars)
Normalizes a text string for use in indexing and searching.
Normalizes a text string for use in indexing and searching.
Normalizes a text string for use in indexing and searching .
def scrub(text):
    text = _COLLAPSE_INTERIOR_PERIODS_RE.sub(r"\1\2", text)
    chars = [_scrub_char(c) for c in text]
    return "".join(chars)
def scrub ( text ) : text = _COLLAPSE_INTERIOR_PERIODS_RE . sub ( r"\1\2" , text ) chars = [ _scrub_char ( c ) for c in text ] return "" . join ( chars )
Normalizes a text string for use in indexing and searching.
Normalizes a text string for use in indexing and searching .
"""Normalizes a text string for use in indexing and searching.""" # Strip out interior periods.
text