def getValue(self, increment: bool=True):
    buff = []
    if increment:
        while ((not self.end) and self.mgr.reAlphanumeric.match(self.current)):
            buff.append(self.current)
            self.index += 1
    else:
        index = self.index
        while ((not self.end) and self.mgr.reAlphanumeric.match(self.chars[index])):
            buff.append(self.chars[index])
            index += 1
    return ''.join(buff)
def getValue(self, increment: bool=True):
    buff = []
    if increment:
        while ((not self.end) and self.mgr.reAlphanumeric.match(self.current)):
            buff.append(self.current)
            self.index += 1
    else:
        index = self.index
        while ((not self.end) and self.mgr.reAlphanumeric.match(self.chars[index])):
            buff.append(self.chars[index])
            index += 1
    return .join(buff)