summaryrefslogtreecommitdiff
path: root/common/locale/en-US/pattern.xml
blob: 036d8b1f6faefdd9d959b26a2bc06a21b2c98cab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://liberator/content/help.xsl"?>

<!DOCTYPE document SYSTEM "chrome://liberator/content/liberator.dtd">

<document
    name="pattern"
    title="&liberator.appname; Patterns"
    xmlns="http://vimperator.org/namespaces/liberator"
    xmlns:html="http://www.w3.org/1999/xhtml">
<h1 tag="text-search-commands">Text search commands</h1>
<toc start="2"/>

<p>
    &liberator.appname; provides a Vim-like interface to &liberator.host;'s standard text search
    functionality. There is no support for using regular expressions in search
    commands as &liberator.host; does not provide native regex support. It is unlikely that
    this will ever be available.
</p>

<item>
    <tags>/</tags>
    <spec>/<a>pattern</a>[/]&lt;CR></spec>
    <description>
        <p>Search forward for the first occurrence of <a>pattern</a>.</p>

        <p>
            If <str>\c</str> appears anywhere in the pattern the whole pattern is handled as though
            <o>ignorecase</o> is on. <str>\C</str> forces case-sensitive matching for the whole pattern.
        </p>
        <p>
            If <str>\l</str> appears in the pattern only the text of links is searched for a
            match as though <o>linksearch</o> is on. <str>\L</str> forces the entire page to be searched
            for a match.
        </p>
    </description>
</item>


<item>
    <tags>?</tags>
    <spec>?<a>pattern</a>[?]&lt;CR></spec>
    <description>
        <p>Search backwards for <a>pattern</a>.</p>

        <p><a>pattern</a> can use the same modifiers as for <k>/</k>.</p>

        <note>Incremental searching currently only works in the forward direction.</note>
    </description>
</item>


<item>
    <tags>n</tags>
    <spec>n</spec>
    <description>
        <p>Find next. Repeat the last search 1 time (until count is supported).</p>
    </description>
</item>


<item>
    <tags>N</tags>
    <spec>N</spec>
    <description>
        <p>
            Find previous. Repeat the last search 1 time (until count is supported) in the
            opposite direction.
        </p>
    </description>
</item>


<item>
    <tags>*</tags>
    <spec>*</spec>
    <description>
        <p>Search forward for the next word under the cursor.</p>
    </description>
</item>


<item>
    <tags>#</tags>
    <spec>#</spec>
    <description>
        <p>Search backward for the previous word under the cursor.</p>
    </description>
</item>


<item>
    <tags>:noh :nohlsearch</tags>
    <spec>:noh<oa>lsearch</oa></spec>
    <description>
        <p>
            Remove the search highlighting. The document highlighting is turned back on
            when another search command is used or the <o>hlsearch</o> option is set.
        </p>
    </description>
</item>

</document>
<!-- vim:se sts=4 sw=4 et: -->