Fixed trunk removeprefix slashes for regexes