Use like instead of is() for path verification regex