[BUGFIX] Fix URL regex pattern to handle special resource paths