- Introducing the Regular Expression
[]= set
- Default
Stringmethodmatchesmatches entireString, but not substrings group(0)= first match of entire pattern, entire matchgroup(i),i > 0= parenthesized groupings
[] = setString method matches matches entire String, but not substringsgroup(0) = first match of entire pattern, entire match
group(i), i > 0 = parenthesized groupings