[Python-checkins] CVS: python/dist/src/Lib sre.py,1.35,1.36

Fred L. Drake fdrake@users.sourceforge.net
Tue, 04 Sep 2001 12:20:08 -0700


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

Modified Files:
	sre.py 
Log Message:
Convert docstring to "raw" string.

Index: sre.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sre.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** sre.py	2001/09/04 19:10:20	1.35
--- sre.py	2001/09/04 19:20:06	1.36
***************
*** 15,19 ****
  #
  
! """Support for regular expressions (RE).
  
  This module provides regular expression matching operations similar to
--- 15,19 ----
  #
  
! r"""Support for regular expressions (RE).
  
  This module provides regular expression matching operations similar to
***************
*** 57,74 ****
  below. If the ordinary character is not on the list, then the
  resulting RE will match the second character.
!     \\number  Matches the contents of the group of the same number.
!     \\A       Matches only at the start of the string.
!     \\Z       Matches only at the end of the string.
!     \\b       Matches the empty string, but only at the start or end of a word.
!     \\B       Matches the empty string, but not at the start or end of a word.
!     \\d       Matches any decimal digit; equivalent to the set [0-9].
!     \\D       Matches any non-digit character; equivalent to the set [^0-9].
!     \\s       Matches any whitespace character; equivalent to [ \\t\\n\\r\\f\\v].
!     \\S       Matches any non-whitespace character; equiv. to [^ \\t\\n\\r\\f\\v].
!     \\w       Matches any alphanumeric character; equivalent to [a-zA-Z0-9_].
               With LOCALE, it will match the set [0-9_] plus characters defined
               as letters for the current locale.
!     \\W       Matches the complement of \\w.
!     \\\\       Matches a literal backslash.
  
  This module exports the following functions:
--- 57,74 ----
  below. If the ordinary character is not on the list, then the
  resulting RE will match the second character.
!     \number  Matches the contents of the group of the same number.
!     \A       Matches only at the start of the string.
!     \Z       Matches only at the end of the string.
!     \b       Matches the empty string, but only at the start or end of a word.
!     \B       Matches the empty string, but not at the start or end of a word.
!     \d       Matches any decimal digit; equivalent to the set [0-9].
!     \D       Matches any non-digit character; equivalent to the set [^0-9].
!     \s       Matches any whitespace character; equivalent to [ \t\n\r\f\v].
!     \S       Matches any non-whitespace character; equiv. to [^ \t\n\r\f\v].
!     \w       Matches any alphanumeric character; equivalent to [a-zA-Z0-9_].
               With LOCALE, it will match the set [0-9_] plus characters defined
               as letters for the current locale.
!     \W       Matches the complement of \w.
!     \\       Matches a literal backslash.
  
  This module exports the following functions: