Generate a `ReadEvent` object from a string

def from_str(string):
        """Generate a `ReadEvent` object from a string
        """
        match = re.match(r'^READ (\w+) FOR (\d+) \w+S$', string)
        if match:
            return ReadEvent(match.group(1), int(match.group(2)))
        else:
            raise EventParseError