Test, validate and match regular expressions
Matches four-part version numbers like .NET AssemblyVersion strings (e.g., 1.2.3.4), capturing the major.minor portion as 'version', the third component as 'patch', and the fourth as 'build'. Note the separators are unescaped dots that technically match any character, though this works fine for standard dotted versions. With the global flag, it finds all version occurrences in a document, useful for parsing assembly files, configs, or build logs.