unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Patch to docstring of function string-match.
@ 2002-11-21 16:11 Francis Litterio
  0 siblings, 0 replies; only message in thread
From: Francis Litterio @ 2002-11-21 16:11 UTC (permalink / raw)


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
franl@world.std.com
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;
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-21 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-21 16:11 Patch to docstring of function string-match Francis Litterio

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).