grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to grep/manual/html_node/Special-Backslash-Expressions.html, v


From: Jim Meyering
Subject: Changes to grep/manual/html_node/Special-Backslash-Expressions.html, v
Date: Wed, 22 Mar 2023 22:55:26 -0400 (EDT)

CVSROOT:        /webcvs/grep
Module name:    grep
Changes by:     Jim Meyering <meyering> 23/03/22 22:55:22

Index: html_node/Special-Backslash-Expressions.html
===================================================================
RCS file: 
/webcvs/grep/grep/manual/html_node/Special-Backslash-Expressions.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- html_node/Special-Backslash-Expressions.html        3 Sep 2022 19:33:14 
-0000       1.1
+++ html_node/Special-Backslash-Expressions.html        23 Mar 2023 02:55:21 
-0000      1.2
@@ -1,11 +1,11 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!DOCTYPE html>
 <html>
-<!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ -->
+<!-- Created by GNU Texinfo 7.0dev, https://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <!-- This manual is for grep, a pattern matching engine.
 
-Copyright (C) 1999-2002, 2005, 2008-2022 Free Software Foundation,
+Copyright © 1999-2002, 2005, 2008-2023 Free Software Foundation,
 Inc.
 
 Permission is granted to copy, distribute and/or modify this document
@@ -14,10 +14,10 @@
 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
 Texts.  A copy of the license is included in the section entitled
 "GNU Free Documentation License". -->
-<title>Special Backslash Expressions (GNU Grep 3.8)</title>
+<title>Special Backslash Expressions (GNU Grep 3.10)</title>
 
-<meta name="description" content="Special Backslash Expressions (GNU Grep 
3.8)">
-<meta name="keywords" content="Special Backslash Expressions (GNU Grep 3.8)">
+<meta name="description" content="Special Backslash Expressions (GNU Grep 
3.10)">
+<meta name="keywords" content="Special Backslash Expressions (GNU Grep 3.10)">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">
@@ -31,21 +31,8 @@
 <link href="Character-Classes-and-Bracket-Expressions.html" rel="prev" 
title="Character Classes and Bracket Expressions">
 <style type="text/css">
 <!--
-a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
-a.summary-letter {text-decoration: none}
-blockquote.indentedblock {margin-right: 0em}
-div.display {margin-left: 3.2em}
-div.example {margin-left: 3.2em}
-kbd {font-style: oblique}
-pre.display {font-family: inherit}
-pre.format {font-family: inherit}
-pre.menu-comment {font-family: serif}
-pre.menu-preformatted {font-family: serif}
-span.nolinebreak {white-space: nowrap}
-span.roman {font-family: initial; font-weight: normal}
-span.sansserif {font-family: sans-serif; font-weight: normal}
-span:hover a.copiable-anchor {visibility: visible}
-ul.no-bullet {list-style: none}
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
 -->
 </style>
 <link rel="stylesheet" type="text/css" 
href="https://www.gnu.org/software/gnulib/manual.css";>
@@ -54,70 +41,70 @@
 </head>
 
 <body lang="en">
-<div class="section" id="Special-Backslash-Expressions">
-<div class="header">
+<div class="section-level-extent" id="Special-Backslash-Expressions">
+<div class="nav-panel">
 <p>
 Next: <a href="Anchoring.html" accesskey="n" rel="next">Anchoring</a>, 
Previous: <a href="Character-Classes-and-Bracket-Expressions.html" 
accesskey="p" rel="prev">Character Classes and Bracket Expressions</a>, Up: <a 
href="Regular-Expressions.html" accesskey="u" rel="up">Regular Expressions</a> 
&nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="Index.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="Special-Backslash-Expressions-1"></span><h3 class="section">3.3 
Special Backslash Expressions</h3>
-<span id="index-backslash"></span>
+<h3 class="section" id="Special-Backslash-Expressions-1"><span>3.3 Special 
Backslash Expressions<a class="copiable-link" 
href="#Special-Backslash-Expressions-1"> &para;</a></span></h3>
+<a class="index-entry-id" id="index-backslash"></a>
 
-<p>The &lsquo;<samp>\</samp>&rsquo; character followed by a special character 
is a regular
+<p>The &lsquo;<samp class="samp">\</samp>&rsquo; character followed by a 
special character is a regular
 expression that matches the special character.
-The &lsquo;<samp>\</samp>&rsquo; character,
+The &lsquo;<samp class="samp">\</samp>&rsquo; character,
 when followed by certain ordinary characters,
 takes a special meaning:
 </p>
-<dl compact="compact">
-<dt><span>&lsquo;<samp>\b</samp>&rsquo;</span></dt>
+<dl class="table">
+<dt>&lsquo;<samp class="samp">\b</samp>&rsquo;</dt>
 <dd><p>Match the empty string at the edge of a word.
 </p>
 </dd>
-<dt><span>&lsquo;<samp>\B</samp>&rsquo;</span></dt>
+<dt>&lsquo;<samp class="samp">\B</samp>&rsquo;</dt>
 <dd><p>Match the empty string provided it&rsquo;s not at the edge of a word.
 </p>
 </dd>
-<dt><span>&lsquo;<samp>\&lt;</samp>&rsquo;</span></dt>
+<dt>&lsquo;<samp class="samp">\&lt;</samp>&rsquo;</dt>
 <dd><p>Match the empty string at the beginning of a word.
 </p>
 </dd>
-<dt><span>&lsquo;<samp>\&gt;</samp>&rsquo;</span></dt>
+<dt>&lsquo;<samp class="samp">\&gt;</samp>&rsquo;</dt>
 <dd><p>Match the empty string at the end of a word.
 </p>
 </dd>
-<dt><span>&lsquo;<samp>\w</samp>&rsquo;</span></dt>
-<dd><p>Match word constituent, it is a synonym for 
&lsquo;<samp>[_[:alnum:]]</samp>&rsquo;.
+<dt>&lsquo;<samp class="samp">\w</samp>&rsquo;</dt>
+<dd><p>Match word constituent, it is a synonym for &lsquo;<samp 
class="samp">[_[:alnum:]]</samp>&rsquo;.
 </p>
 </dd>
-<dt><span>&lsquo;<samp>\W</samp>&rsquo;</span></dt>
-<dd><p>Match non-word constituent, it is a synonym for 
&lsquo;<samp>[^_[:alnum:]]</samp>&rsquo;.
+<dt>&lsquo;<samp class="samp">\W</samp>&rsquo;</dt>
+<dd><p>Match non-word constituent, it is a synonym for &lsquo;<samp 
class="samp">[^_[:alnum:]]</samp>&rsquo;.
 </p>
 </dd>
-<dt><span>&lsquo;<samp>\s</samp>&rsquo;</span></dt>
-<dd><p>Match whitespace, it is a synonym for 
&lsquo;<samp>[[:space:]]</samp>&rsquo;.
+<dt>&lsquo;<samp class="samp">\s</samp>&rsquo;</dt>
+<dd><p>Match whitespace, it is a synonym for &lsquo;<samp 
class="samp">[[:space:]]</samp>&rsquo;.
 </p>
 </dd>
-<dt><span>&lsquo;<samp>\S</samp>&rsquo;</span></dt>
-<dd><p>Match non-whitespace, it is a synonym for 
&lsquo;<samp>[^[:space:]]</samp>&rsquo;.
+<dt>&lsquo;<samp class="samp">\S</samp>&rsquo;</dt>
+<dd><p>Match non-whitespace, it is a synonym for &lsquo;<samp 
class="samp">[^[:space:]]</samp>&rsquo;.
 </p>
 </dd>
-<dt><span>&lsquo;<samp>\]</samp>&rsquo;</span></dt>
-<dd><p>Match &lsquo;<samp>]</samp>&rsquo;.
+<dt>&lsquo;<samp class="samp">\]</samp>&rsquo;</dt>
+<dd><p>Match &lsquo;<samp class="samp">]</samp>&rsquo;.
 </p>
 </dd>
-<dt><span>&lsquo;<samp>\}</samp>&rsquo;</span></dt>
-<dd><p>Match &lsquo;<samp>}</samp>&rsquo;.
+<dt>&lsquo;<samp class="samp">\}</samp>&rsquo;</dt>
+<dd><p>Match &lsquo;<samp class="samp">}</samp>&rsquo;.
 </p>
 </dd>
 </dl>
 
-<p>For example, &lsquo;<samp>\brat\b</samp>&rsquo; matches the separate word 
&lsquo;<samp>rat</samp>&rsquo;,
-&lsquo;<samp>\Brat\B</samp>&rsquo; matches &lsquo;<samp>crate</samp>&rsquo; 
but not &lsquo;<samp>furry rat</samp>&rsquo;.
+<p>For example, &lsquo;<samp class="samp">\brat\b</samp>&rsquo; matches the 
separate word &lsquo;<samp class="samp">rat</samp>&rsquo;,
+&lsquo;<samp class="samp">\Brat\B</samp>&rsquo; matches &lsquo;<samp 
class="samp">crate</samp>&rsquo; but not &lsquo;<samp class="samp">furry 
rat</samp>&rsquo;.
 </p>
-<p>The behavior of <code>grep</code> is unspecified if a unescaped backslash
+<p>The behavior of <code class="command">grep</code> is unspecified if a 
unescaped backslash
 is not followed by a special character, a nonzero digit, or a
-character in the above list.  Although <code>grep</code> might issue a
+character in the above list.  Although <code class="command">grep</code> might 
issue a
 diagnostic and/or give the backslash an interpretation now, its
 behavior may change if the syntax of regular expressions is extended
 in future versions.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]