if ($key eq "~") { # it's a tilde } elsif ($key eq "\e[5~") { # pgup } elsif ($key eq "\e[6~") { # pgdown } [download]
In reply to Re: using \x in regex by ysth in thread using \x in regex by halfcountplus