Group 1(public|private|protected|static|final|abstract|synchronized|volatile) publicthe literal text public (case sensitive) privatethe literal text private (case sensitive) protectedthe literal text protected (case sensitive) staticthe literal text static (case sensitive) finalthe literal text final (case sensitive) abstractthe literal text abstract (case sensitive) 7th Alternativesynchronized synchronizedthe literal text synchronized (case sensitive) volatilethe literal text volatile (case sensitive) \s*any whitespace character, repeated any number of times
Character Class[\w<>\[\]]+ +matches at least one character from the set below:
\wany word character
<the literal < (6010 / 748 / 3C16)
>the literal > (6210 / 768 / 3E16)
\[the literal [ (9110 / 1338 / 5B16)
\]the literal ] (9310 / 1358 / 5D16)
\s*any whitespace character, repeated any number of times
\w+any word character, repeated at least once
\s*any whitespace character, repeated any number of times
\(the literal ( (4010 / 508 / 2816)
Group 4([\w\s\w,<>\[\]]*)? ?repeats the group contents below at most once:
Character Class[\w\s\w,<>\[\]]* *matches any number of characters from the set below:
\wany word character
\sany whitespace character
\wany word character
,the literal , (4410 / 548 / 2C16)
<the literal < (6010 / 748 / 3C16)
>the literal > (6210 / 768 / 3E16)
\[the literal [ (9110 / 1338 / 5B16)
\]the literal ] (9310 / 1358 / 5D16)
\)the literal ) (4110 / 518 / 2916)
\s*any whitespace character, repeated any number of times
?repeats the group contents below at most once:
\ban ASCII word boundary
throwsthe literal text throws (case sensitive) \ban ASCII word boundary
Character Class[\s\w\s,\w]* *matches any number of characters from the set below:
\sany whitespace character
\wany word character
\sany whitespace character
,the literal , (4410 / 548 / 2C16)
\wany word character
\{the literal { (12310 / 1738 / 7B16)
*matches any number of characters from the set below:
\na line-feed (newline) character (ASCII 10)
\ta tab character (ASCII 9)
.+any character (except for line terminators), repeated at least once
*matches any number of characters from the set below:
\na line-feed (newline) character (ASCII 10)
\ta tab character (ASCII 9)
Group 7((return|throw){1}\s*) {1}repeats the group contents below exactly 1 time:
returnthe literal text return (case sensitive) throwthe literal text throw (case sensitive) \s*any whitespace character, repeated any number of times
\w*any word character, repeated any number of times
\s*any whitespace character, repeated any number of times
;the literal ; (5910 / 738 / 3B16)
\s*any whitespace character, repeated any number of times
\}the literal } (12510 / 1758 / 7D16)
g modifier: global. Finds all matches instead of stopping after the first