regex: don't escape backslashes, fix digit flag

fixing the derp from earlier and another derp