def _sub_space(m):
    """Helper function: given a regexp match, return a string of
    spaces that's the same length as the matched string."""
    return ' '*(m.end()-m.start())
dataset/ETHPy150Open nltk/nltk/nltk/corpus/reader/util.py/_sub_space/original