Add a note about the limitation of matching only line by line when using regular expressions.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2551 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-05-06 12:43:21 +00:00
parent 5ec3c087f3
commit 19ccd5129e
3 changed files with 21 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2008-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Add a note about the limitation of matching only line by line
when using regular expressions.
2008-05-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:

View File

@ -3,10 +3,10 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" />
<title>Geany</title>
<meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" />
<meta name="date" content="2008-04-19" />
<meta name="date" content="2008-04-23" />
<style type="text/css">
/*
@ -133,7 +133,7 @@ dt {
<br />Nick Treleaven
<br />Frank Lanitz</td></tr>
<tr><th class="docinfo-name">Date:</th>
<td>2008-04-19</td></tr>
<td>2008-04-23</td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>0.15</td></tr>
</tbody>
@ -1241,10 +1241,14 @@ body.</p>
<h3><a class="toc-backref" href="#id54" id="regular-expressions" name="regular-expressions">Regular expressions</a></h3>
<p>You can use regular expressions in the Find and Replace dialogs
by selecting the Use regular expressions check box. The syntax is
POSIX-like, as described below in <a class="reference" href="#regular-expressions">Regular expressions</a>.</p>
POSIX-like, as described in the table below.</p>
<div class="note">
<p class="first admonition-title">Note</p>
<p class="last">Searching backwards with regular expressions is not supported.</p>
<ol class="last arabic simple">
<li>Searching backwards with regular expressions is not supported.</li>
<li>\r and \n are never matched because regular expression
searches are made line per line (stripped of end-of-line chars).</li>
</ol>
</div>
<p><strong>In a regular expression, the following characters are interpreted:</strong></p>
<table border="1" class="docutils">
@ -4058,7 +4062,7 @@ USE OR PERFORMANCE OF THIS SOFTWARE.</p>
<div class="footer">
<hr class="footer" />
<a class="reference" href="geany.txt">View document source</a>.
Generated on: 2008-04-23 16:28 UTC.
Generated on: 2008-05-06 12:42 UTC.
Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
</div>

View File

@ -994,10 +994,12 @@ Regular expressions
You can use regular expressions in the Find and Replace dialogs
by selecting the Use regular expressions check box. The syntax is
POSIX-like, as described below in `Regular expressions`_.
POSIX-like, as described in the table below.
.. note::
Searching backwards with regular expressions is not supported.
(1) Searching backwards with regular expressions is not supported.
(2) \\r and \\n are never matched because regular expression
searches are made line per line (stripped of end-of-line chars).
**In a regular expression, the following characters are interpreted:**