From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/regular-expressions.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 devdocs/elisp/regular-expressions.html (limited to 'devdocs/elisp/regular-expressions.html') diff --git a/devdocs/elisp/regular-expressions.html b/devdocs/elisp/regular-expressions.html new file mode 100644 index 00000000..02a98e0b --- /dev/null +++ b/devdocs/elisp/regular-expressions.html @@ -0,0 +1,31 @@ +

Regular Expressions

A regular expression, or regexp for short, is a pattern that denotes a (possibly infinite) set of strings. Searching for matches for a regexp is a very powerful operation. This section explains how to write regexps; the following section says how to search for them.

For interactive development of regular expressions, you can use the M-x re-builder command. It provides a convenient interface for creating regular expressions, by giving immediate visual feedback in a separate buffer. As you edit the regexp, all its matches in the target buffer are highlighted. Each parenthesized sub-expression of the regexp is shown in a distinct face, which makes it easier to verify even very complex regexps.

Note that by default Emacs search ignores case (see Searching and Case). To enable case-sensitive regexp search and match, bind case-fold-search to nil around the code you want to be case-sensitive.

+ + + + + + + + + + + + + + + + + + + +
+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Regular-Expressions.html +

+
-- cgit v1.2.3