Fix incorrect regular expression

This was preventing baseUrl and loaderUrl from working in the client