FIX: Added parameter array checking

Fixed the regex not having backslashes escaped.