We would typically use regExp.exec(fullPath)[2] to do the same thing. I personally think it's clearer to read. Any argument for keeping this usage as-is?