Safer RegEx, only matching at start of string path