in reply to Re^7: Regex arrow key problem
in thread Regex arrow key problem

No, it does contain what you said it contains. For some reason though it will not make the arrow keys function for what I want them to.

Replies are listed 'Best First'.
Re^9: Regex arrow key problem
by ikegami (Patriarch) on Dec 01, 2010 at 20:46 UTC

    If so, the if would work. Can't have it both ways. Which one is it? Does $input contain "\e[C\n" or does the if work?

    Note that it shouldn't contain what you said it contains. There shouldn't be a trailing "\n".