"I left the $ out at the end of the pattern match line as it kept me from returning anything including errors," . . . .