Test, validate and match regular expressions
This regular expression is designed to parse custom array or object expressions, matching tokens that start with specific prefixes like #N, #C, or #L. It captures a numerical identifier, followed by an optional nested token of the same format (ending with an optional ;F), or a simple shorthand like S, C, or R. The pattern also supports an optional secondary numerical parameter at the end, making it highly useful for validating structured string formats in configuration files or game data.