I seem to have confused myself with a preg_match regex I\'m doing, so fresh eyes and help would be appreciated.
My current regex is as follows:
/<
This uses an optional non-capturing group -- (?: )? -- to match your optional part, and also \d instead of [0-9] to match digits:
(?: )?
\d
[0-9]
/(.*?)/se
If numbers in parentheses can consist of more than one digit, use this one instead: