def METHOD_NAME( self, instring, loc, doActions=True ):
    test = instring[ loc:loc+self.matchLen ]
    if test.upper() == self.match:
        return loc+self.matchLen, test
    #~ raise ParseException( instring, loc, self.errmsg )
    exc = self.myException
    exc.loc = loc
    exc.pstr = instring
    raise exc   