summaryrefslogtreecommitdiff
path: root/devdocs/elisp/searching-and-matching.html
diff options
context:
space:
mode:
Diffstat (limited to 'devdocs/elisp/searching-and-matching.html')
-rw-r--r--devdocs/elisp/searching-and-matching.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/devdocs/elisp/searching-and-matching.html b/devdocs/elisp/searching-and-matching.html
new file mode 100644
index 00000000..0abdf1e6
--- /dev/null
+++ b/devdocs/elisp/searching-and-matching.html
@@ -0,0 +1,46 @@
+ <h2 class="chapter">Searching and Matching</h2> <p>GNU Emacs provides two ways to search through a buffer for specified text: exact string searches and regular expression searches. After a regular expression search, you can examine the <em>match data</em> to determine which text matched the whole regular expression or various portions of it. </p> <table class="menu" border="0" cellspacing="0"> <tr>
+<td align="left" valign="top">• <a href="string-search" accesskey="1">String Search</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Search for an exact match. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="searching-and-case" accesskey="2">Searching and Case</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Case-independent or case-significant searching. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="regular-expressions" accesskey="3">Regular Expressions</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Describing classes of strings. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="regexp-search" accesskey="4">Regexp Search</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Searching for a match for a regexp. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="posix-regexps" accesskey="5">POSIX Regexps</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Searching POSIX-style for the longest match. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="match-data" accesskey="6">Match Data</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Finding out which part of the text matched, after a string or regexp search. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="search-and-replace" accesskey="7">Search and Replace</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Commands that loop, searching and replacing. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="standard-regexps" accesskey="8">Standard Regexps</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Useful regexps for finding sentences, pages,... </td>
+</tr> </table> <p>The ‘<samp>skip-chars…</samp>’ functions also perform a kind of searching. See <a href="skipping-characters">Skipping Characters</a>. To search for changes in character properties, see <a href="property-search">Property Search</a>. </p><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
+ <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Searching-and-Matching.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Searching-and-Matching.html</a>
+ </p>
+</div>