This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mrabarnett
Recipients Mark.Shannon, Rick Otten, ezio.melotti, mrabarnett
Date 2015-02-27.00:07:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424995652.89.0.447353118129.issue23532@psf.upfronthosting.co.za>
In-reply-to
Content
@Mark is correct, it's not a bug.

In the first example:

It tries to match each alternative at position 0. Failure.
It tries to match each alternative at position 1. Failure.
It tries to match each alternative at position 2. Failure.
It tries to match each alternative at position 3. Success. ' inc' matches.

In the second example:

It tries to match each alternative at position 0. Failure.
It tries to match each alternative at position 1. Failure.
It tries to match each alternative at position 2. Failure.
It tries to match each alternative at position 3. Failure.
It tries to match each alternative at position 4. Success. 'incorporated' matches. ('inc' is a later alternative; it's considered only if the earlier alternatives have failed to match at that position.)
History
Date User Action Args
2015-02-27 00:07:32mrabarnettsetrecipients: + mrabarnett, ezio.melotti, Mark.Shannon, Rick Otten
2015-02-27 00:07:32mrabarnettsetmessageid: <1424995652.89.0.447353118129.issue23532@psf.upfronthosting.co.za>
2015-02-27 00:07:32mrabarnettlinkissue23532 messages
2015-02-27 00:07:32mrabarnettcreate