summaryrefslogtreecommitdiff
path: root/devdocs/elisp/rx-functions.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
committerCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
commit82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch)
tree158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/elisp/rx-functions.html
parent9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff)
downloaddotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz
dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/elisp/rx-functions.html')
-rw-r--r--devdocs/elisp/rx-functions.html19
1 files changed, 0 insertions, 19 deletions
diff --git a/devdocs/elisp/rx-functions.html b/devdocs/elisp/rx-functions.html
deleted file mode 100644
index cfe91f13..00000000
--- a/devdocs/elisp/rx-functions.html
+++ /dev/null
@@ -1,19 +0,0 @@
- <h4 class="subsubsection">Functions and macros using rx regexps</h4> <dl> <dt id="rx">Macro: <strong>rx</strong> <em>rx-form…</em>
-</dt> <dd>
-<p>Translate the <var>rx-form</var>s to a string regexp, as if they were the body of a <code>(seq …)</code> form. The <code>rx</code> macro expands to a string constant, or, if <code>literal</code> or <code>regexp</code> forms are used, a Lisp expression that evaluates to a string. Example: </p> <div class="example"> <pre class="example">(rx (+ alpha) "=" (+ digit))
- ⇒ "[[:alpha:]]+=[[:digit:]]+"
-</pre>
-</div> </dd>
-</dl> <dl> <dt id="rx-to-string">Function: <strong>rx-to-string</strong> <em>rx-expr &amp;optional no-group</em>
-</dt> <dd>
-<p>Translate <var>rx-expr</var> to a string regexp which is returned. If <var>no-group</var> is absent or nil, bracket the result in a non-capturing group, ‘<samp>\(?:…\)</samp>’, if necessary to ensure that a postfix operator appended to it will apply to the whole expression. Example: </p> <div class="example"> <pre class="example">(rx-to-string '(seq (+ alpha) "=" (+ digit)) t)
- ⇒ "[[:alpha:]]+=[[:digit:]]+"
-</pre>
-</div> <p>Arguments to <code>literal</code> and <code>regexp</code> forms in <var>rx-expr</var> must be string literals. </p>
-</dd>
-</dl> <p>The <code>pcase</code> macro can use <code>rx</code> expressions as patterns directly; see <a href="pcase-macro#rx-in-pcase">rx in pcase</a>. </p> <p>For mechanisms to add user-defined extensions to the <code>rx</code> notation, see <a href="extending-rx">Extending Rx</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/Rx-Functions.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Rx-Functions.html</a>
- </p>
-</div>