92c6a77cf8367e349b70526f3ea3575ce832c06d
This makes further adjustments to the Regex to allow for valid Windows and Linux paths. - Valid Windows paths can necessarily contain spaces and hyphens as the game's installation path contains both. (eg. `\SquareEnix\FINAL FANTASY XIV - A Realm Reborn`) so a check for `\w` is insufficient - Valid Linux paths can also be double-slashed (eg. `/path//to//file`) In addition some pointless optimizations were made by making the groups non-capturing, lazy matching, and including an ending anchor. Because a valid path must necessarily include at least one valid character `*` was changed to `+`.
Languages
C#
100%