Negative Lookbehind(?<![^\/]\/) Negated Character Class[^\/] \/the literal / (4710 / 578 / 2F16)
\/the literal / (4710 / 578 / 2F16)
\ban ASCII word boundary
\w+any word character, repeated at least once
\.the literal . (4610 / 568 / 2E16)
\ban ASCII word boundary
\w{2,3}any word character, repeated between 2 and 3 times
Non-Capturing Group(?:\.\b\w{2})? ?repeats the group contents below at most once:
\.the literal . (4610 / 568 / 2E16)
\ban ASCII word boundary
\w{2}any word character, repeated exactly 2 times
Positive Lookahead(?=$|\/) \/the literal / (4710 / 578 / 2F16)
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