medit/doc/help/Regular-expressions.html
2010-09-04 04:25:07 -07:00

50 lines
2.2 KiB
HTML

<html lang="en">
<head>
<title>Regular expressions - medit 0.99.0-unstable manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="medit 0.99.0-unstable manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="prev" href="Preferences-files.html#Preferences-files" title="Preferences files">
<link rel="next" href="User_002ddefined-Tools.html#User_002ddefined-Tools" title="User-defined Tools">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<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>
</head>
<body>
<div class="node">
<a name="Regular-expressions"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="User_002ddefined-Tools.html#User_002ddefined-Tools">User-defined Tools</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Preferences-files.html#Preferences-files">Preferences files</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="index.html#Top">Top</a>
<hr>
</div>
<h2 class="chapter">3 Regular expressions</h2>
<p><!-- moo-help-section: REGEX -->
<p>medit uses regular expressions functionality provided by Glib, which in turn uses
<a href="http://pcre.org/">PCRE</a> library. See
<a href="http://library.gnome.org/devel/glib/stable/glib-regex-syntax.html">Glib manual</a>
for complete description of regular expression syntax.
<p>Regular expression searches in a document text are limited to single lines, unless the
search pattern includes newline character. For example, pattern "<code>.*</code>" will match every
line in the document, pattern "<code>.*\n.*</code>" will match pairs of consecutive lines. This means
that it is mostly impossible to perform searches for text which spawns multiple lines.
</body></html>