I'm parsing a file and looking in the lines for username-# where the username will change and there can be any number of digits [0-9] after the dash.
I have tried nearly every combination trying to use the variable username in the regular expression.
Am I even close with something like re.compile('%s-\d*'%user)?