making sure that the patterns code view is properly escaped
making sure that the patterns code view is properly escaped