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

Comparing rxvt-unicode/src/perl/selection-popup (file contents):
Revision 1.6 by root, Mon Jan 9 07:17:24 2006 UTC vs.
Revision 1.7 by root, Mon Jan 9 19:25:57 2006 UTC

53 53
54 for ($text) { 54 for ($text) {
55 $add_button->("rot13" => sub { y/A-Za-z/N-ZA-Mn-za-m/ }); 55 $add_button->("rot13" => sub { y/A-Za-z/N-ZA-Mn-za-m/ });
56 56
57 urxvt::safe 57 urxvt::safe
58 and $add_button->("eval perl expression" => sub { $_ = eval urxvt::untaint $_ }); 58 and $add_button->("eval perl expression" => sub { no warnings; $_ = eval urxvt::untaint $_ });
59 59
60 /^(\S+):(\d+):?$/ 60 /^(\S+):(\d+):?$/
61 and $add_button->("vi-commands to load '$1'" => sub { s/^(\S+):(\d+):?$/\x1b:e $1\x0d:$2\x0d/ }); 61 and $add_button->("vi-commands to load '$1'" => sub { s/^(\S+):(\d+):?$/\x1b:e $1\x0d:$2\x0d/ });
62 62
63 /%[0-9a-fA-F]{2}/ && !/%[^0-9a-fA-F]/ && !/%.[^0-9a-fA-F]/ 63 /%[0-9a-fA-F]{2}/ && !/%[^0-9a-fA-F]/ && !/%.[^0-9a-fA-F]/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines