Oh, yes, if it's in your power to change the "rev" part then that would be a good way to do it. And ~ has no special meaning in RegEx so you don't need to pay any extra attention to it.
Conversely ~ never shows up in filenames except sometimes in user directories. (My mental association is with big sprawling academic domains, but I guess it occurs in other places.) We have to remember that it isn't just the filename itself. It's all the directories you pass along the way. But if you had any directories with leading ~ you would know about it ;)
As for combining my last 2 captures, I do not follow. I was under the impression I already combined them?
Yes, you did, so I should have said "It WAS a good idea."