Made sure groups are non-capturing
Better diagnostics when a regex fails
Added path command to platform
Documentation