1Padre::Search(3)      User Contributed Perl Documentation     Padre::Search(3)
2
3
4

NAME

6       Padre::Search - The Padre Search API
7
8   SYNOPSIS
9         # Create the search object
10         my $search = Padre::Search->new(
11             find_term => 'foo',
12         );
13
14         # Execute the search on the current editor
15         $search->search_next(Padre::Current->editor);
16
17   DESCRIPTION
18       This is the Padre Search API. It allows the creation of abstract
19       objects object that can independently search and/or replace in an
20       editor object.
21
22   METHODS
23   matches
24       Parameters:
25
26       * The text in which we need to search
27
28       * The regular expression
29
30       * The offset within the text where we the last match started so the
31       next
32         forward match must start after this.
33
34       * The offset within the text where we the last match ended so the next
35         backward match must end before this.
36
37       * backward bit (1 = search backward, 0 = search forward)
38
40       Copyright 2008-2010 The Padre development team as listed in Padre.pm.
41
42       This program is free software; you can redistribute it and/or modify it
43       under the same terms as Perl 5 itself.
44
45
46
47perl v5.12.1                      2010-06-11                  Padre::Search(3)
Impressum