[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: |
Wed, 22 Mar 2023 22:55:25 -0400 (EDT) |
CVSROOT: /webcvs/grep
Module name: grep
Changes by: Jim Meyering <meyering> 23/03/22 22:55:22
Index: html_node/Basic-vs-Extended.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Basic-vs-Extended.html,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- html_node/Basic-vs-Extended.html 3 Sep 2022 19:33:14 -0000 1.33
+++ html_node/Basic-vs-Extended.html 23 Mar 2023 02:55:21 -0000 1.34
@@ -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>Basic vs Extended (GNU Grep 3.8)</title>
+<title>Basic vs Extended (GNU Grep 3.10)</title>
-<meta name="description" content="Basic vs Extended (GNU Grep 3.8)">
-<meta name="keywords" content="Basic vs Extended (GNU Grep 3.8)">
+<meta name="description" content="Basic vs Extended (GNU Grep 3.10)">
+<meta name="keywords" content="Basic vs Extended (GNU Grep 3.10)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
@@ -31,21 +31,9 @@
<link href="Back_002dreferences-and-Subexpressions.html" rel="prev"
title="Back-references and Subexpressions">
<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}
+ul.mark-bullet {list-style-type: disc}
-->
</style>
<link rel="stylesheet" type="text/css"
href="https://www.gnu.org/software/gnulib/manual.css">
@@ -54,37 +42,37 @@
</head>
<body lang="en">
-<div class="section" id="Basic-vs-Extended">
-<div class="header">
+<div class="section-level-extent" id="Basic-vs-Extended">
+<div class="nav-panel">
<p>
Next: <a href="Problematic-Expressions.html" accesskey="n"
rel="next">Problematic Regular Expressions</a>, Previous: <a
href="Back_002dreferences-and-Subexpressions.html" accesskey="p"
rel="prev">Back-references and Subexpressions</a>, Up: <a
href="Regular-Expressions.html" accesskey="u" rel="up">Regular Expressions</a>
[<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="Basic-vs-Extended-Regular-Expressions"></span><h3
class="section">3.6 Basic vs Extended Regular Expressions</h3>
-<span id="index-basic-regular-expressions"></span>
+<h3 class="section" id="Basic-vs-Extended-Regular-Expressions"><span>3.6 Basic
vs Extended Regular Expressions<a class="copiable-link"
href="#Basic-vs-Extended-Regular-Expressions"> ¶</a></span></h3>
+<a class="index-entry-id" id="index-basic-regular-expressions"></a>
<p>Basic regular expressions differ from extended regular expressions
in the following ways:
</p>
-<ul>
-<li> The characters ‘<samp>?</samp>’, ‘<samp>+</samp>’,
-‘<samp>{</samp>’, ‘<samp>|</samp>’,
‘<samp>(</samp>’, and ‘<samp>)</samp>’ lose their
special meaning;
-instead use the backslashed versions ‘<samp>\?</samp>’,
‘<samp>\+</samp>’, ‘<samp>\{</samp>’,
-‘<samp>\|</samp>’, ‘<samp>\(</samp>’, and
‘<samp>\)</samp>’. Also, a backslash is needed
-before an interval expression’s closing ‘<samp>}</samp>’.
+<ul class="itemize mark-bullet">
+<li>The characters ‘<samp class="samp">?</samp>’, ‘<samp
class="samp">+</samp>’,
+‘<samp class="samp">{</samp>’, ‘<samp
class="samp">|</samp>’, ‘<samp class="samp">(</samp>’, and
‘<samp class="samp">)</samp>’ lose their special meaning;
+instead use the backslashed versions ‘<samp
class="samp">\?</samp>’, ‘<samp class="samp">\+</samp>’,
‘<samp class="samp">\{</samp>’,
+‘<samp class="samp">\|</samp>’, ‘<samp
class="samp">\(</samp>’, and ‘<samp class="samp">\)</samp>’.
Also, a backslash is needed
+before an interval expression’s closing ‘<samp
class="samp">}</samp>’.
-</li><li> An unmatched ‘<samp>\)</samp>’ is invalid.
+</li><li>An unmatched ‘<samp class="samp">\)</samp>’ is invalid.
-</li><li> If an unescaped ‘<samp>^</samp>’ appears neither first,
nor directly after
-‘<samp>\(</samp>’ or ‘<samp>\|</samp>’, it is treated
like an ordinary character and
+</li><li>If an unescaped ‘<samp class="samp">^</samp>’ appears
neither first, nor directly after
+‘<samp class="samp">\(</samp>’ or ‘<samp
class="samp">\|</samp>’, it is treated like an ordinary character and
is not an anchor.
-</li><li> If an unescaped ‘<samp>$</samp>’ appears neither last,
nor directly before
-‘<samp>\|</samp>’ or ‘<samp>\)</samp>’, it is treated
like an ordinary character and
+</li><li>If an unescaped ‘<samp class="samp">$</samp>’ appears
neither last, nor directly before
+‘<samp class="samp">\|</samp>’ or ‘<samp
class="samp">\)</samp>’, it is treated like an ordinary character and
is not an anchor.
-</li><li> If an unescaped ‘<samp>*</samp>’ appears first, or
appears directly after
-‘<samp>\(</samp>’ or ‘<samp>\|</samp>’ or anchoring
‘<samp>^</samp>’, it is treated like an
+</li><li>If an unescaped ‘<samp class="samp">*</samp>’ appears
first, or appears directly after
+‘<samp class="samp">\(</samp>’ or ‘<samp
class="samp">\|</samp>’ or anchoring ‘<samp
class="samp">^</samp>’, it is treated like an
ordinary character and is not a repetition operator.
</li></ul>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to grep/manual/html_node/Basic-vs-Extended.html,v,
Jim Meyering <=