I have a regular expression that works perfectly in development mode, but when I deploy to production (ng build --prod) the resulting matches are different.
I have tried