Test, validate and match regular expressions
Matches lines ending with an 'adhoc' or 'validated' suffix (optionally preceded by spaces/underscores or a 'non'-style prefix), capturing the base name and suffix in separate groups. Intended for splitting SSBI folder/project names like 'ProjectX_adhoc' or 'Data_non_validated' into name parts. Note: [non]* is a character class matching any n/o characters, not the literal word 'non'.