[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/manual/html_node/Regular-Expressions.html,v
From: |
Jim Meyering |
Subject: |
Changes to grep/manual/html_node/Regular-Expressions.html,v |
Date: |
Tue, 23 Mar 2010 12:04:31 +0000 |
CVSROOT: /webcvs/grep
Module name: grep
Changes by: Jim Meyering <meyering> 10/03/23 12:04:22
Index: html_node/Regular-Expressions.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Regular-Expressions.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- html_node/Regular-Expressions.html 24 May 2009 18:42:59 -0000 1.1
+++ html_node/Regular-Expressions.html 23 Mar 2010 12:04:20 -0000 1.2
@@ -1,8 +1,8 @@
<html lang="en">
<head>
-<title>Regular Expressions - GNU Grep 2.5.4</title>
+<title>Regular Expressions - 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="prev" href="Invoking.html#Invoking" title="Invoking">
@@ -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,
@@ -46,18 +46,22 @@
<h2 class="chapter">3 Regular Expressions</h2>
-<p><a name="index-regular-expressions-178"></a>
+<p><a name="index-regular-expressions-182"></a>
A <dfn>regular expression</dfn> is a pattern that describes a set of strings.
Regular expressions are constructed analogously to arithmetic expressions,
by using various operators to combine smaller expressions.
<samp><span class="command">grep</span></samp> understands
-two different versions of regular expression syntax:
-“basic”(BRE) and “extended”(ERE).
+three different versions of regular expression syntax:
+“basic,” (BRE) “extended” (ERE) and
“perl”.
In <span class="sc">gnu</span> <samp><span class="command">grep</span></samp>,
-there is no difference in available functionality using either syntax.
+there is no difference in available functionality between basic and
+extended syntaxes.
In other implementations, basic regular expressions are less powerful.
The following description applies to extended regular expressions;
differences for basic regular expressions are summarized afterwards.
+Perl regular expressions give additional functionality, and are
+documented in pcresyntax(3) and pcrepattern(3), but may not be
+available on every system.
<ul class="menu">
<li><a accesskey="1"
href="Fundamental-Structure.html#Fundamental-Structure">Fundamental
Structure</a>
- Changes to grep/manual/html_node/Regular-Expressions.html,v,
Jim Meyering <=