I'm trying to take a regular expression as an argument to my python program (which is a string naturally) and simply match it against another string.
Let's say I run it as
python program.py 'Hi.there'
I'd like to be able to then take that input (call it input) and say whether or not it matches 'HiTthere' (it should).
How should I do this? I'm inexperienced at regex.