Could not compile pattern
Error returned is 'Illegal closure'
