[Python-checkins] CVS: python/dist/src/Lib pydoc.py,1.58,1.59

Neil Schemenauer nascheme@users.sourceforge.net
Sun, 24 Mar 2002 15:02:09 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv22152/Lib

Modified Files:
	pydoc.py 
Log Message:
Remove unnecessary \b.  It was causing the RE to miss the tailing
slash on strings like "http://www.python.org/ is good".


Index: pydoc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pydoc.py,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** pydoc.py	7 Mar 2002 22:58:02 -0000	1.58
--- pydoc.py	24 Mar 2002 23:02:07 -0000	1.59
***************
*** 442,446 ****
                                  r'RFC[- ]?(\d+)|'
                                  r'PEP[- ]?(\d+)|'
!                                 r'(self\.)?(\w+))\b')
          while 1:
              match = pattern.search(text, here)
--- 442,446 ----
                                  r'RFC[- ]?(\d+)|'
                                  r'PEP[- ]?(\d+)|'
!                                 r'(self\.)?(\w+))')
          while 1:
              match = pattern.search(text, here)