Group 1((?:(?:public|private|protected|static|final|abstract|synchronized|volatile)\s+)*) Non-Capturing Group(?:(?:public|private|protected|static|final|abstract|synchronized|volatile)\s+)* *repeats the group contents below any number of times:
Non-Capturing Group(?: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 at least once
\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
\w+any word character, repeated at least once
\(the literal ( (4010 / 508 / 2816)
.*?any character, repeated any number of times
\)the literal ) (4110 / 518 / 2916)
\s*any whitespace character, repeated any number of times
Group 4({(?:{[^{}]*}|.)*?}) {the literal { (12310 / 1738 / 7B16)
Non-Capturing Group(?:{[^{}]*}|.)*? *?repeats the group contents below any number of times:
{the literal { (12310 / 1738 / 7B16)
Negated Character Class[^{}]* *matches any number of characters outside the set below:
{the literal { (12310 / 1738 / 7B16)
}the literal } (12510 / 1758 / 7D16)
}the literal } (12510 / 1758 / 7D16)
}the literal } (12510 / 1758 / 7D16)
s modifier: single line. Allows a dot to match line terminators