^start of line
categorythe literal text category (case sensitive) /the literal / (4710 / 578 / 2F16)
Negated Character Class[^/]+ +matches at least one character outside the set below:
/the literal / (4710 / 578 / 2F16)
/the literal / (4710 / 578 / 2F16)
Negated Character Class[^/]+ +matches at least one character outside the set below:
/the literal / (4710 / 578 / 2F16)
/the literal / (4710 / 578 / 2F16)
Group 4((?:(?!\bitem\b).)+) Non-Capturing Group(?:(?!\bitem\b).)+ +repeats the group contents below at least once:
Negative Lookahead(?!\bitem\b) \ban ASCII word boundary
itemthe literal text item (case sensitive) \ban ASCII word boundary
.any character (except for line terminators)
/the literal / (4710 / 578 / 2F16)
Negated Character Class[^/]+ +matches at least one character outside the set below:
/the literal / (4710 / 578 / 2F16)
/?optionally matches the literal / (4710 / 578 / 2F16)
$end of line
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