summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libregex.tex
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>1998-06-22 15:02:42 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>1998-06-22 15:02:42 (GMT)
commit65b7863efc55a284bb16d4c4a25f774dcbe21776 (patch)
tree9fe6be999df2b1da2dd67534a7c005aab886cca6 /Doc/lib/libregex.tex
parenta8a1b9bc65ad81a75d2b9352531bf7580ca3d83f (diff)
downloadcpython-65b7863efc55a284bb16d4c4a25f774dcbe21776.zip
cpython-65b7863efc55a284bb16d4c4a25f774dcbe21776.tar.gz
cpython-65b7863efc55a284bb16d4c4a25f774dcbe21776.tar.bz2
Fix unclear wording pointed out by Tim Peters, about the interaction between
^ and the pos argument to re.match(). Also, fixed a typo in libregex.tex.
Diffstat (limited to 'Doc/lib/libregex.tex')
-rw-r--r--Doc/lib/libregex.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex
index fabc182..e3adf55 100644
--- a/Doc/lib/libregex.tex
+++ b/Doc/lib/libregex.tex
@@ -288,7 +288,7 @@ Compiled regular expression objects support these methods:
The optional second parameter, \var{pos}, gives an index in the string
where the search is to start; it defaults to \code{0}. This is not
completely equivalent to slicing the string; the \code{'\^'} pattern
- character matches at the real begin of the string and at positions
+ character matches at the real beginning of the string and at positions
just after a newline, not necessarily at the index where the search
is to start.
\end{funcdesc}