Test, validate and match regular expressions
Matches slash-delimited resource paths (e.g., Assets/Resources/Textures/Background) where each segment starts with a letter or underscore, contains word characters, and ends with an alphanumeric character. It allows an optional leading segment followed by zero or more '/segment' groups, and also matches an empty string. Typical use is validating Unity asset or resource identifiers, rejecting paths with extensions, leading/trailing slashes, whitespace, or single-character segments.