[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to docstring of function string-match.
From: |
Francis Litterio |
Subject: |
Patch to docstring of function string-match. |
Date: |
Thu, 21 Nov 2002 11:11:30 -0500 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-msvc-nt5.0.2195) |
The documentation string for function string-match doesn't mention the
closely related function match-string. This patch (against the current
CVS sources) fixes that.
Hope this helps.
--
Francis Litterio
address@hidden
http://world.std.com/~franl/
GPG and PGP public keys available on keyservers.
--- search.c.~1.170.~ 2002-09-29 15:59:33.000000000 -0400
+++ search.c 2002-11-21 11:07:43.000000000 -0500
@@ -419,7 +419,9 @@
If third arg START is non-nil, start search at that index in STRING.
For index of first char beyond the match, do (match-end 0).
`match-end' and `match-beginning' also give indices of substrings
-matched by parenthesis constructs in the pattern. */)
+matched by parenthesis constructs in the pattern. You can also use
+function match-string to extract substrings matched by parenthesis
+constructions in the pattern. */)
(regexp, string, start)
Lisp_Object regexp, string, start;
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch to docstring of function string-match.,
Francis Litterio <=