QRegExp and *literal* Minus/Dash
How do I match a literal Minus/Dash in QRegExp?
My goal is to match a literal character, delimited by word boundaries.
This works as expected, to match a literal x:
But neither of these works to match a literal "-" character:
I think "-" shouldn't need escaping, but I tired with and without. No luck.
How do I do it correctly?