def _format_fragment(self, text, fragment):
        output = []
        index = fragment.startchar
        
        for t in fragment.matches:
            if t.startchar is not index:
                output.append(text[index:t.startchar])
            
            ttxt = text[t.startchar:t.endchar]
            if t.matched: ttxt = ttxt.upper()
            output.append(ttxt)
            index = t.endchar
        
        output.append(text[index:fragment.endchar])
        return "".join(output)
dataset/ETHPy150Open tallstreet/Whoosh-AppEngine/src/whoosh/highlight.py/UppercaseFormatter._format_fragment/operator `>` -> `is not`