grep-commit
[Top][All Lists]
Advanced

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

Changes to grep/manual/html_node/Basic-vs-Extended.html,v


From: Jim Meyering
Subject: Changes to grep/manual/html_node/Basic-vs-Extended.html,v
Date: Tue, 23 Mar 2010 12:04:26 +0000

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

Index: html_node/Basic-vs-Extended.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Basic-vs-Extended.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- html_node/Basic-vs-Extended.html    24 May 2009 18:42:58 -0000      1.1
+++ html_node/Basic-vs-Extended.html    23 Mar 2010 12:04:18 -0000      1.2
@@ -1,8 +1,8 @@
 <html lang="en">
 <head>
-<title>Basic vs Extended - GNU Grep 2.5.4</title>
+<title>Basic vs Extended - GNU Grep 2.6</title>
 <meta http-equiv="Content-Type" content="text/html">
-<meta name="description" content="GNU Grep 2.5.4">
+<meta name="description" content="GNU Grep 2.6">
 <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">
@@ -11,8 +11,8 @@
 <!--
 This manual is for `grep', a pattern matching engine.
 
-Copyright (C) 1999, 2000, 2001, 2002, 2005, 2008, 2009 Free
-Software Foundation, Inc.
+Copyright (C) 1999-2002, 2005, 2008-2010 Free Software Foundation,
+Inc.
 
      Permission is granted to copy, distribute and/or modify this
      document under the terms of the GNU Free Documentation License,
@@ -45,13 +45,13 @@
 
 <h3 class="section">3.6 Basic vs Extended Regular Expressions</h3>
 
-<p><a name="index-basic-regular-expressions-239"></a>
+<p><a name="index-basic-regular-expressions-243"></a>
 In basic regular expressions the meta-characters &lsquo;<samp><span 
class="samp">?</span></samp>&rsquo;, &lsquo;<samp><span 
class="samp">+</span></samp>&rsquo;,
 &lsquo;<samp><span class="samp">{</span></samp>&rsquo;, &lsquo;<samp><span 
class="samp">|</span></samp>&rsquo;, &lsquo;<samp><span 
class="samp">(</span></samp>&rsquo;, and &lsquo;<samp><span 
class="samp">)</span></samp>&rsquo; lose their special meaning;
 instead use the backslashed versions &lsquo;<samp><span 
class="samp">\?</span></samp>&rsquo;, &lsquo;<samp><span 
class="samp">\+</span></samp>&rsquo;, &lsquo;<samp><span 
class="samp">\{</span></samp>&rsquo;,
 &lsquo;<samp><span class="samp">\|</span></samp>&rsquo;, &lsquo;<samp><span 
class="samp">\(</span></samp>&rsquo;, and &lsquo;<samp><span 
class="samp">\)</span></samp>&rsquo;.
 
-   <p><a name="index-interval-specifications-240"></a>Traditional <samp><span 
class="command">egrep</span></samp> did not support the &lsquo;<samp><span 
class="samp">{</span></samp>&rsquo; meta-character,
+   <p><a name="index-interval-specifications-244"></a>Traditional <samp><span 
class="command">egrep</span></samp> did not support the &lsquo;<samp><span 
class="samp">{</span></samp>&rsquo; meta-character,
 and some <samp><span class="command">egrep</span></samp> implementations 
support &lsquo;<samp><span class="samp">\{</span></samp>&rsquo; instead, so
 portable scripts should avoid &lsquo;<samp><span 
class="samp">{</span></samp>&rsquo; in &lsquo;<samp><span class="samp">grep 
-E</span></samp>&rsquo; patterns and
 should use &lsquo;<samp><span class="samp">[{]</span></samp>&rsquo; to match a 
literal &lsquo;<samp><span class="samp">{</span></samp>&rsquo;.




reply via email to

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