I'm having trouble to understand the exact behavior of the caret inside regexp.
This returns the last character of a string ("n" from "horn", "7" from "dx7", etc.). Sounds good to me.
I would expect this one to return only the first character of a string, such as "h" from "horn" and "d" from "dx7". However, it outputs lists such as "h o r n" and "d x 7".
I'm certainly missing something here. Any help appreciated. Please see example patch below. I've searched other regexp-related posts in this forum, but this is not addressed directly.