Code review comment for lp:~stub/launchpad/bug-354035

Revision history for this message
Gavin Panella (allenap) wrote :

> start, end, db_id, statement = re.match(
> r'^(\d+)-(\d+)(?:@([\w-]+))? (.*)', '123-456').groups()

Or even:

    start, end, db_id, statement = re.match(
        r'^(\d+)-(\d+)(?:@([\w-]+))? (.*)', line).groups()

« Back to merge proposal