Lines Matching defs:search
345 my ($self, $search, $replace) = @_;
346 return $self unless defined $search;
348 $self->{ text } =~ s/$search/$replace/g;
354 my ($self, $search) = @_;
355 $search = '' unless defined $search;
356 $self->{ text } =~ s/$search//g;
370 sub search {
532 =head2 search($pattern)
538 [% item.search('wiz') ? 'WIZZY! :-)' : 'not wizzy :-(' %]
717 =head2 replace($search, $replace)
719 Replaces all occurrences of C<$search> in the string with C<$replace>.
724 =head2 remove($search)
726 Remove all occurrences of C<$search> in the string.