Matches whitespace at the begginng (group 1) and end (group 3), and the content in between (group 2).
Capture whitespace at the beggining of a string (group 1) and the rest of a string (group 2).
Matches only whitespace string.
Capture string content (group 1) and the whitespace at the end of a string (group 2).
Generated using TypeDoc
Annotated RegExp’s to be used in a convenient way.