def process(self, pair):
        key = pair[0]
        value = pair[1]

        # faster than invoking a regex
        try:
            key.index("[")
            self.parse(key, value)
            return
        except __HOLE__:
            pass

        try:
            key.index(".")
            self.parse(key, value)
            return
        except ValueError:
            pass

        self.result[key] = value
dataset/ETHPy150Open circuits/circuits/circuits/web/parsers/querystring.py/QueryStringParser.process