The regex check appears to be very slow when the path contains multiple `-` characters. Why is it nessesary to test the path agains a regex?
The regex check appears to be very slow when the path contains multiple
-characters.Why is it nessesary to test the path agains a regex?