'?optionally matches the literal ' (3910 / 478 / 2716)
\ban ASCII word boundary
\w+any word character, repeated at least once
'?optionally matches the literal ' (3910 / 478 / 2716)
\w+any word character, repeated at least once
\ban ASCII word boundary
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string