summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-20 16:28:44 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-20 16:28:44 (GMT)
commit42de185a77aa0d9696b765cde1a7c41d64525c9a (patch)
tree018756de5e3e6236d443698820459ee512b6ea4f
parenta933f6a53d45099cb5a45f1dc58555cf245bcc81 (diff)
downloadcpython-42de185a77aa0d9696b765cde1a7c41d64525c9a.zip
cpython-42de185a77aa0d9696b765cde1a7c41d64525c9a.tar.gz
cpython-42de185a77aa0d9696b765cde1a7c41d64525c9a.tar.bz2
Added \label to subsections which didn't have one, since this module has
subsections listed in the documentation index sidebar. (Why?)
-rw-r--r--Doc/lib/libre.tex7
-rw-r--r--Doc/libre.tex7
2 files changed, 14 insertions, 0 deletions
diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex
index d0ceaef..a47723f 100644
--- a/Doc/lib/libre.tex
+++ b/Doc/lib/libre.tex
@@ -28,6 +28,7 @@ Usually patterns will be expressed in Python code using this raw
string notation.
\subsection{Regular Expression Syntax}
+\label{re-syntax}
A regular expression (or RE) specifies a set of strings that matches
it; the functions in this module let you check if a particular string
@@ -275,6 +276,7 @@ for the current locale.
\end{list}
+
\subsection{Module Contents}
\nodename{Contents of Module re}
@@ -458,7 +460,10 @@ Perform the same operation as \function{sub()}, but return a tuple
never an error if a string contains no match for a pattern.
\end{excdesc}
+
\subsection{Regular Expression Objects}
+\label{re-objects}
+
Compiled regular expression objects support the following methods and
attributes:
@@ -522,7 +527,9 @@ symbolic groups were used in the pattern.
The pattern string from which the regex object was compiled.
\end{memberdesc}
+
\subsection{Match Objects}
+\label{match-objects}
\class{MatchObject} instances support the following methods and attributes:
diff --git a/Doc/libre.tex b/Doc/libre.tex
index d0ceaef..a47723f 100644
--- a/Doc/libre.tex
+++ b/Doc/libre.tex
@@ -28,6 +28,7 @@ Usually patterns will be expressed in Python code using this raw
string notation.
\subsection{Regular Expression Syntax}
+\label{re-syntax}
A regular expression (or RE) specifies a set of strings that matches
it; the functions in this module let you check if a particular string
@@ -275,6 +276,7 @@ for the current locale.
\end{list}
+
\subsection{Module Contents}
\nodename{Contents of Module re}
@@ -458,7 +460,10 @@ Perform the same operation as \function{sub()}, but return a tuple
never an error if a string contains no match for a pattern.
\end{excdesc}
+
\subsection{Regular Expression Objects}
+\label{re-objects}
+
Compiled regular expression objects support the following methods and
attributes:
@@ -522,7 +527,9 @@ symbolic groups were used in the pattern.
The pattern string from which the regex object was compiled.
\end{memberdesc}
+
\subsection{Match Objects}
+\label{match-objects}
\class{MatchObject} instances support the following methods and attributes: