File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
plugins/sources/src/org/graalvm/visualvm/sources/java Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ final class JavaSourceUtils {
55
55
56
56
static final String ANONYMOUS_LOCAL_CLASSNAME_REGEX = "(?<" + REGEX_GROUP_INDEX + ">[\\ d]+)(?<" + REGEX_GROUP_NAME + ">[\\ D]*)" ; // NOI18N
57
57
static final String CLASS_REGEX = "(^|[\\ W&&[^.]])(class|interface|enum)\\ s+(?<" + REGEX_GROUP_NAME + ">" + IDENTIFIER_REGEX + ")[^\\ p{javaJavaIdentifierPart}]" ; // NOI18N
58
- static final String ANONYMOUS_CLASS_START_REGEX = "\\ Wnew( \\ s+| \\ s* \\ <)" ; // NOI18N
58
+ static final String ANONYMOUS_CLASS_START_REGEX = "\\ Wnew\\ s*( \\ s| \\ <)" ; // NOI18N
59
59
static final String ANONYMOUS_CLASS_END_REGEX = "\\ G\\ s*(?<" + REGEX_GROUP_NAME + ">" + FULLY_QUALIFIED_IDENTIFIER_REGEX + ")\\ s*" ; // NOI18N
60
60
61
61
static final String CLASS_INITIALIZER_REGEX = "\\ Wstatic\\ s*\\ {" ; // NOI18N
You can’t perform that action at this time.
0 commit comments