^start of string
.+any character (except for line terminators), repeated at least once
slashes the literal text slashes (case sensitive) .+any character (except for line terminators), repeated at least once
\'?optionally matches the literal ' (3910 / 478 / 2716)
s?optionally matches the literal s (11510 / 1638 / 7316) (case sensitive)
legthe literal text leg (case sensitive) \.the literal . (4610 / 568 / 2E16)
$end of string, or before its final line terminator