[issue10875] Update Regular Expression HOWTO

2011-01-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg125954 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875 ___

[issue10875] Update Regular Expression HOWTO

2011-01-11 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Correction: r87912 and r87913 for 3.x -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875 ___

[issue10875] Update Regular Expression HOWTO

2011-01-10 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: While the changes all look innocuous to me with respect to building the docs, I am curious if you have tried to rebuild the HOWTO (if you have the tool chain, which I do not). I did rebuild the docs with 'make html'. Build was clean every

[issue10875] Update Regular Expression HOWTO

2011-01-10 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I applied patch to 3.2, 3.1 in r87904, r87905. Thanks. I had to re-edit for 2.7: r87909. I made a separate small patch for my suggested addition to Matching Characters. Could someone check that it is correct, given that re.rst contains the

[issue10875] Update Regular Expression HOWTO

2011-01-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Looks good, builds without warnings. Note that you can use :ref:`re-syntax` and Sphinx will substitute the heading for you. The :role:`some special text real-target` form is used when you want to control the text of the link. (That thing is

[issue10875] Update Regular Expression HOWTO

2011-01-10 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Thanks. r87911,r87912 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875 ___

[issue10875] Update Regular Expression HOWTO

2011-01-10 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: and r87918 for 2.7, with bytes - byte string -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875 ___

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread Terry J. Reedy
New submission from Terry J. Reedy tjre...@udel.edu: 0. Does 'Release 0.05' at the top have any useful current meaning? or could it be deleted? 1. Introduction: The history paragraph The re module was added in Python 1.5, and provides Perl-style regular expression patterns. Earlier versions

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Your points 1-5 all sound valid to me. Would you like to do make a patch? I don't know what to do about the release number. Probably doesn't hurt anyone to keep it. -- nosy: +georg.brandl ___

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Good points overall. The only subpoint I disagree with is this one: “Add the url '(http://kodos.sourceforge.net/)' to the text so that Windows help users can copy and paste it into a browser. (This should be a general policy.)” IMO, it’s the

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Oh right, I misread that one. Can't Windows help users right-click and select Copy URL? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here is the patch implementing all but the url suggestion. Doctest still has 11 failures (changing to '0x...' didn't help). -- keywords: +patch nosy: +SilentGhost Added file: http://bugs.python.org/file20329/regex.rst.diff

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: A few bits and pieces fixed compared to the previous patch. doctest.testfile(/home/mischa/pydev/Doc/howto/regex.rst, module_relative = False, optionflags=doctest.ELLIPSIS) TestResults(failed=0, attempted=98) -- Added file:

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20329/regex.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875 ___

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: It seems that the special sequences description in Matching Characters section need to be updated to incorporate information on unicode and bytes. I don't think, however, that it's a good idea just to copy that information from the

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I agree that the .rst should not have two copies and that any windows.chm specific fixup should be in the tool. Right now, right clicking gives a context menu with one item: Properties. Clicking that brings up a dialog box with a url that can

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: I don't know whether it would be easy to strip down py3k version to 2.7 version. Seeing how it's just a basic introduction, I would think that a single statement re unicode support might be sufficient. For exhaustive description of special

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20331/regex.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10875 ___

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Since I think I know how to do it, easily, I will try to derive the 2.7 patch. In Matching Characters, I think The following predefined special sequences are available: should be expanded to The following predefined special sequences are a

[issue10875] Update Regular Expression HOWTO

2011-01-09 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I agree that the .rst should not have two copies and that any windows.chm specific fixup should be in the tool. Right now, right clicking gives a context menu with one item: Properties. Clicking that brings up a dialog box with a url that