in reply to Unable to find a pattern

either use single quotes or put a backslash before the @ because it's trying to interpolate the inexistent var @abc in your pattern string.