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

Comparing rxvt-unicode/src/perl/selection (file contents):
Revision 1.13 by root, Fri Jan 6 17:03:14 2006 UTC vs.
Revision 1.14 by root, Fri Jan 6 20:50:58 2006 UTC

14 qr{( 14 qr{(
15 (?:https?|ftp|news|mailto|file)://[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~]+ 15 (?:https?|ftp|news|mailto|file)://[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~]+
16 [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27(),~] # do not include a trailing dot, its wrong too often 16 [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27(),~] # do not include a trailing dot, its wrong too often
17 )}x, 17 )}x,
18 18
19 # common forms of quoting
20 qr{(?:^|\s) [‘`] ([^‘`’']+) [’'] (?:\s|$)}x,
21
19 # shell-like argument quoting 22 # shell-like argument quoting
20 qr{\G [\ \t|&;<>()] *( 23 qr{\G [\ \t|&;<>()] *(
21 (?: 24 (?:
22 [^\\"'\ \t|&;<>()]+ 25 [^\\"'\ \t|&;<>()]+
23 | \\. 26 | \\.
24 | " (?: [^\\"]+ | \\. )* " 27 | " (?: [^\\"]+ | \\. )* "
25 | ' [^']* ' 28 | ' [^']* '
26 )+ 29 )+
27 )}xs, 30 )}x,
28); 31);
32
33my $x = "‘hallole’";
29 34
30sub on_sel_extend { 35sub on_sel_extend {
31 my ($self) = @_; 36 my ($self) = @_;
32 37
33 my ($row, $col) = $self->selection_mark; 38 my ($row, $col) = $self->selection_mark;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines