There is a really handy parameter/variable expansion feature in BASH that I don't see for history. I've checked man pages for history and for BASH itself. Not there ...maybe I missed it.
Example: I use ssh a lot and I can do this with variable expansion.
Suppose I wanted to extract just the host -- rather, remove the username.
My question: Is it possible to do this with commandline history?
This doesn't work, of course, but can someone confirm whether or not this type of pattern matching is available?