@@ -0,0 +1,589 @@
+package bugIdeas;%0A%0Aimport java.util.regex.Pattern;%0A%0Apublic class Ideas_2010_07_01 %7B%0A%0A%09public static void main(String args%5B%5D) %7B%0A%09%09Pattern.compile(%22+%22);%0A%09%09Pattern.compile(%22+%22, Pattern.CANON_EQ);%0A%09%09Pattern.compile(%22+%22, Pattern.CASE_INSENSITIVE);%0A%09%09Pattern.compile(%22+%22, Pattern.COMMENTS);%0A%09%09Pattern.compile(%22+%22, Pattern.DOTALL);%0A%09%09Pattern.compile(%22+%22, Pattern.LITERAL); // Not an error%0A%09%09Pattern.compile(%22+%22, Pattern.MULTILINE);%0A%09%09Pattern.compile(%22+%22, Pattern.UNICODE_CASE);%0A%09%09Pattern.compile(%22+%22, Pattern.UNIX_LINES);%0A%09%09Pattern.compile(%22+%22, Pattern.UNICODE_CASE %7C Pattern.UNIX_LINES);%0A%0A%09%7D%0A%0A%7D%0A

add test case for regular expressions with flags, making sure we generate correct msgs