grep-commit
[Top][All Lists]
Advanced

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

Changes to grep/manual/html_node/The-Backslash-Character-and-Special-Exp


From: Jim Meyering
Subject: Changes to grep/manual/html_node/The-Backslash-Character-and-Special-Expressions.html, v
Date: Fri, 05 Feb 2016 00:45:06 +0000

CVSROOT:        /webcvs/grep
Module name:    grep
Changes by:     Jim Meyering <meyering> 16/02/05 00:44:53

Index: html_node/The-Backslash-Character-and-Special-Expressions.html
===================================================================
RCS file: 
/webcvs/grep/grep/manual/html_node/The-Backslash-Character-and-Special-Expressions.html,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- html_node/The-Backslash-Character-and-Special-Expressions.html      2 Nov 
2015 02:54:36 -0000       1.21
+++ html_node/The-Backslash-Character-and-Special-Expressions.html      5 Feb 
2016 00:44:53 -0000       1.22
@@ -1,79 +1,120 @@
-<html lang="en">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<!-- This manual is for grep, a pattern matching engine.
+
+Copyright (C) 1999-2002, 2005, 2008-2016 Free Software Foundation,
+Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+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". -->
+<!-- Created by GNU Texinfo 6.0, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>The Backslash Character and Special Expressions - GNU Grep 2.22</title>
+<title>GNU Grep 2.23: The Backslash Character and Special Expressions</title>
+
+<meta name="description" content="GNU Grep 2.23: The Backslash Character and 
Special Expressions">
+<meta name="keywords" content="GNU Grep 2.23: The Backslash Character and 
Special Expressions">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="makeinfo">
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<meta name="description" content="GNU Grep 2.22">
-<meta name="generator" content="makeinfo 4.13">
-<link title="Top" rel="start" href="index.html#Top">
-<link rel="up" href="Regular-Expressions.html#Regular-Expressions" 
title="Regular Expressions">
-<link rel="prev" 
href="Character-Classes-and-Bracket-Expressions.html#Character-Classes-and-Bracket-Expressions"
 title="Character Classes and Bracket Expressions">
-<link rel="next" href="Anchoring.html#Anchoring" title="Anchoring">
-<link href="http://www.gnu.org/software/texinfo/"; rel="generator-home" 
title="Texinfo Homepage">
+<link href="index.html#Top" rel="start" title="Top">
+<link href="Index.html#Index" rel="index" title="Index">
+<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
+<link href="Regular-Expressions.html#Regular-Expressions" rel="up" 
title="Regular Expressions">
+<link href="Anchoring.html#Anchoring" rel="next" title="Anchoring">
+<link 
href="Character-Classes-and-Bracket-Expressions.html#Character-Classes-and-Bracket-Expressions"
 rel="prev" title="Character Classes and Bracket Expressions">
+<style type="text/css">
 <!--
-This manual is for `grep', a pattern matching engine.
+a.summary-letter {text-decoration: none}
+blockquote.indentedblock {margin-right: 0em}
+blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {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}
+pre.smalldisplay {font-family: inherit; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: inherit; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space: nowrap}
+span.nolinebreak {white-space: nowrap}
+span.roman {font-family: serif; font-weight: normal}
+span.sansserif {font-family: sans-serif; font-weight: normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+<link rel="stylesheet" type="text/css" href="/software/gnulib/manual.css">
 
-Copyright (C) 1999-2002, 2005, 2008-2015 Free Software Foundation,
-Inc.
 
-     Permission is granted to copy, distribute and/or modify this
-     document under the terms of the GNU Free Documentation License,
-     Version 1.3 or any later version published by the Free Software
-     Foundation; with no 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''.
-   -->
-<meta http-equiv="Content-Style-Type" content="text/css">
-<style type="text/css"><!--
-  pre.display { font-family:inherit }
-  pre.format  { font-family:inherit }
-  pre.smalldisplay { font-family:inherit; font-size:smaller }
-  pre.smallformat  { font-family:inherit; font-size:smaller }
-  pre.smallexample { font-size:smaller }
-  pre.smalllisp    { font-size:smaller }
-  span.sc    { font-variant:small-caps }
-  span.roman { font-family:serif; font-weight:normal; } 
-  span.sansserif { font-family:sans-serif; font-weight:normal; } 
---></style>
-<link rel="stylesheet" type="text/css" href="/software/gnulib/manual.css">
 </head>
-<body>
-<div class="node">
+
+<body lang="en">
 <a name="The-Backslash-Character-and-Special-Expressions"></a>
+<div class="header">
 <p>
-Next:&nbsp;<a rel="next" accesskey="n" 
href="Anchoring.html#Anchoring">Anchoring</a>,
-Previous:&nbsp;<a rel="previous" accesskey="p" 
href="Character-Classes-and-Bracket-Expressions.html#Character-Classes-and-Bracket-Expressions">Character
 Classes and Bracket Expressions</a>,
-Up:&nbsp;<a rel="up" accesskey="u" 
href="Regular-Expressions.html#Regular-Expressions">Regular Expressions</a>
-<hr>
+Next: <a href="Anchoring.html#Anchoring" accesskey="n" 
rel="next">Anchoring</a>, Previous: <a 
href="Character-Classes-and-Bracket-Expressions.html#Character-Classes-and-Bracket-Expressions"
 accesskey="p" rel="prev">Character Classes and Bracket Expressions</a>, Up: <a 
href="Regular-Expressions.html#Regular-Expressions" 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#Index" title="Index" rel="index">Index</a>]</p>
 </div>
-
+<hr>
+<a name="The-Backslash-Character-and-Special-Expressions-1"></a>
 <h3 class="section">3.3 The Backslash Character and Special Expressions</h3>
+<a name="index-backslash"></a>
 
-<p><a name="index-backslash-249"></a>
-The &lsquo;<samp><span class="samp">\</span></samp>&rsquo; character,
+<p>The &lsquo;<samp>\</samp>&rsquo; character,
 when followed by certain ordinary characters,
 takes a special meaning:
+</p>
+<dl compact="compact">
+<dt>&lsquo;<samp>\b</samp>&rsquo;</dt>
+<dd><p>Match the empty string at the edge of a word.
+</p>
+</dd>
+<dt>&lsquo;<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>&lsquo;<samp>\&lt;</samp>&rsquo;</dt>
+<dd><p>Match the empty string at the beginning of word.
+</p>
+</dd>
+<dt>&lsquo;<samp>\&gt;</samp>&rsquo;</dt>
+<dd><p>Match the empty string at the end of word.
+</p>
+</dd>
+<dt>&lsquo;<samp>\w</samp>&rsquo;</dt>
+<dd><p>Match word constituent, it is a synonym for 
&lsquo;<samp>[_[:alnum:]]</samp>&rsquo;.
+</p>
+</dd>
+<dt>&lsquo;<samp>\W</samp>&rsquo;</dt>
+<dd><p>Match non-word constituent, it is a synonym for 
&lsquo;<samp>[^_[:alnum:]]</samp>&rsquo;.
+</p>
+</dd>
+<dt>&lsquo;<samp>\s</samp>&rsquo;</dt>
+<dd><p>Match whitespace, it is a synonym for 
&lsquo;<samp>[[:space:]]</samp>&rsquo;.
+</p>
+</dd>
+<dt>&lsquo;<samp>\S</samp>&rsquo;</dt>
+<dd><p>Match non-whitespace, it is a synonym for 
&lsquo;<samp>[^[:space:]]</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>
 
-     <dl>
-<dt>&lsquo;<samp><span class="samp">\b</span></samp>&rsquo;<dd>Match the empty 
string at the edge of a word.
-
-     <br><dt>&lsquo;<samp><span class="samp">\B</span></samp>&rsquo;<dd>Match 
the empty string provided it's not at the edge of a word.
-
-     <br><dt>&lsquo;<samp><span 
class="samp">\&lt;</span></samp>&rsquo;<dd>Match the empty string at the 
beginning of word.
-
-     <br><dt>&lsquo;<samp><span 
class="samp">\&gt;</span></samp>&rsquo;<dd>Match the empty string at the end of 
word.
-
-     <br><dt>&lsquo;<samp><span class="samp">\w</span></samp>&rsquo;<dd>Match 
word constituent, it is a synonym for &lsquo;<samp><span 
class="samp">[_[:alnum:]]</span></samp>&rsquo;.
-
-     <br><dt>&lsquo;<samp><span class="samp">\W</span></samp>&rsquo;<dd>Match 
non-word constituent, it is a synonym for &lsquo;<samp><span 
class="samp">[^_[:alnum:]]</span></samp>&rsquo;.
-
-     <br><dt>&lsquo;<samp><span class="samp">\s</span></samp>&rsquo;<dd>Match 
whitespace, it is a synonym for &lsquo;<samp><span 
class="samp">[[:space:]]</span></samp>&rsquo;.
-
-     <br><dt>&lsquo;<samp><span class="samp">\S</span></samp>&rsquo;<dd>Match 
non-whitespace, it is a synonym for &lsquo;<samp><span 
class="samp">[^[:space:]]</span></samp>&rsquo;.
-
-   </dl>
-
-   <p>For example, &lsquo;<samp><span 
class="samp">\brat\b</span></samp>&rsquo; matches the separate word 
&lsquo;<samp><span class="samp">rat</span></samp>&rsquo;,
-&lsquo;<samp><span class="samp">\Brat\B</span></samp>&rsquo; matches 
&lsquo;<samp><span class="samp">crate</span></samp>&rsquo; but not 
&lsquo;<samp><span class="samp">furry rat</span></samp>&rsquo;.
 
-   </body></html>
 
+</body>
+</html>



reply via email to

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