--- rxvt-unicode/src/perl/selection 2006/01/06 17:03:14 1.13 +++ rxvt-unicode/src/perl/selection 2006/01/06 20:50:58 1.14 @@ -16,6 +16,9 @@ [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27(),~] # do not include a trailing dot, its wrong too often )}x, + # common forms of quoting + qr{(?:^|\s) [‘`] ([^‘`’']+) [’'] (?:\s|$)}x, + # shell-like argument quoting qr{\G [\ \t|&;<>()] *( (?: @@ -24,9 +27,11 @@ | " (?: [^\\"]+ | \\. )* " | ' [^']* ' )+ - )}xs, + )}x, ); +my $x = "‘hallole’"; + sub on_sel_extend { my ($self) = @_;