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 JayKrish
Recipients JayKrish
Date 2013-07-19.13:00:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374238852.66.0.963662486602.issue18504@psf.upfronthosting.co.za>
In-reply-to
Content
Following the Idle: mock Text class and test thereof created #18365
I am trying to improve the _decode function because most of the Idletests needs the mock text and requires some more features to handle indexes.
Started improving the mockText _decode method while writing unit test for AutoExpand.py at #18292. 
For now I want the mock text to decode following indexes: 
line.char, insert, end, +-#c/chars, lineend, linestart, wordstart, wordend

For this I am trying to write regular expressions to extract the parts of index.
The submitted decodeTest.py is a sample script to show how my regular expression starts manipulating the decoding of indexes.

I have attached a checklist of several indexes. So you can easily run them and get an understanding of my approach.
History
Date User Action Args
2013-07-19 13:00:52JayKrishsetrecipients: + JayKrish
2013-07-19 13:00:52JayKrishsetmessageid: <1374238852.66.0.963662486602.issue18504@psf.upfronthosting.co.za>
2013-07-19 13:00:52JayKrishlinkissue18504 messages
2013-07-19 13:00:52JayKrishcreate