def get_end( self, src, offset ) :
     end = len(src)
     while offset < end:
         c = src[offset]
         offset += 1
         if not wordChars.match(c): break
     return offset - 1
    def get_start( self, src, offset ) :
        foundWord = 0
        offset -= 1
        while offset > 0:
            c = src[offset]
            offset -= 1
            if foundWord == 0:
                if spaceChars.match(c): continue
                foundWord = 1
            if not wordChars.match(c): break

        return offset + 2