ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/matcher
(Generate patch)

Comparing rxvt-unicode/src/perl/matcher (file contents):
Revision 1.3 by root, Sun Jun 10 23:10:01 2007 UTC vs.
Revision 1.4 by tpope, Sun Jun 10 23:42:36 2007 UTC

10 \([a-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27,~#]*\)| # Allow a pair of matched parentheses 10 \([a-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27,~#]*\)| # Allow a pair of matched parentheses
11 [a-zA-Z0-9\-\@;\/?:&=%\$_+*~] # exclude some trailing characters (heuristic) 11 [a-zA-Z0-9\-\@;\/?:&=%\$_+*~] # exclude some trailing characters (heuristic)
12 )+ 12 )+
13 }x; 13 }x;
14 14
15#sub on_user_command { 15sub on_user_command {
16# my ($self, $cmd) = @_; 16 my ($self, $cmd) = @_;
17# if($cmd =~ s/^matcher\b//) { 17 if($cmd =~ s/^matcher\b//) {
18# $self->most_recent; 18 $self->most_recent;
19# } 19 }
20 ()
21}
22
23sub most_recent {
24 my ($self) = shift;
20# my $row = $self->nrow; 25 my $row = $self->nrow;
21# my @exec; 26 my @exec;
22# while($row-- > $self->top_row) { 27 while($row-- > $self->top_row) {
23# #my $line = $self->line ($row); 28 #my $line = $self->line ($row);
24# #my $text = $line->t; 29 #my $text = $line->t;
25# @exec = $self->command_for($row); 30 @exec = $self->command_for($row);
26# last if(@exec); 31 last if(@exec);
27# } 32 }
28# if(@exec) { 33 if(@exec) {
29# return $self->exec_async (@exec); 34 return $self->exec_async (@exec);
30# } 35 }
31# () 36 ()
32#} 37}
33#
34#sub most_recent {
35# my ($self) = shift;
36# ()
37#}
38 38
39sub my_resource { 39sub my_resource {
40 my $self = shift; 40 my $self = shift;
41 $self->x_resource ("$self->{name}.$_[0]"); 41 $self->x_resource ("$self->{name}.$_[0]");
42} 42}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines