view doc/docbook/GuideReferencePCRE.xml @ 2814:54ae25ba376b

Ref #624: Filter files by shell or regular expression pattern https://github.com/BestImageViewer/geeqie/issues/624 The File name (when "contains" is selected) and Comment items on the Search page use Perl Compatible Regular Expressions. Basic searches should be no different to current usage.
author Colin Clark <colin.clark@cclark.uk>
date Mon, 13 Aug 2018 14:30:01 +0100
parents
children 3fc1b4b21177
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<section id="GuideReferencePCRE">
  <title id="titleGuideReferencePCRE">Perl Compatible Regular Expressions</title>
  <para>
    The Filename and Comment sections on the search window use
    <ulink url="https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions">Perl Compatible Regular Expressions</ulink>
    . In general use there are a number of differences to the wildcard expansion used on the command line:
    <itemizedlist>
      <listitem>Use "." and not "?" for a single character.</listitem>
      <listitem>Use "abc.*ghk" and not "abc*ghk" for multiple characters</listitem>
      <listitem>Use "\." to represent the dot in a file extension</listitem>
    </itemizedlist>
  </para>
</section>