Who's an idiot

I'm an idiot. Fixed variable error, updated tablet regex.