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 <>
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 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 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.
Date User Action Args
2013-07-19 13:00:52JayKrishsetrecipients: + JayKrish
2013-07-19 13:00:52JayKrishsetmessageid: <>
2013-07-19 13:00:52JayKrishlinkissue18504 messages
2013-07-19 13:00:52JayKrishcreate