Author terry.reedy
Recipients ezio.melotti, lemburg, loewis, taleinat, terry.reedy
Date 2014-07-11.05:44:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I just noticed that ColorDelegator has
 idprog = re.compile(r"\s+(\w+)", re.S)
which will recognize unicode 'words', if not exactly Python 'identifiers'.

However, UndoDelegator has 
    alphanumeric = string.ascii_letters + string.digits + "_"
which is the same as in Hyperparser. It is used in

    def classify(self, c):
        if c in self.alphanumeric:
            return "alphanumeric"
        if c == "\n":
            return "newline"
        return "punctuation"
and probably does not do what we really want.
Date User Action Args
2014-07-11 05:44:52terry.reedysetrecipients: + terry.reedy, lemburg, loewis, taleinat, ezio.melotti
2014-07-11 05:44:52terry.reedysetmessageid: <>
2014-07-11 05:44:52terry.reedylinkissue21765 messages
2014-07-11 05:44:52terry.reedycreate