Follow-up from "Resolve "Project slug does not auto populate in IE11""
The following discussion from !22367 (merged) should be addressed:
-
@winh started a discussion: (+1 comment) regex as the constructor caused problems on IE 11 with the second argument being present
@wortschi We have a few more of this, namely in
- app/assets/javascripts/locale/sprintf.js
- app/assets/javascripts/notebook/cells/markdown.vue
- app/assets/javascripts/frequent_items/components/frequent_items_list_item.vuev
Should we update those, too, or consider a polyfill?
Using the RegExp
constructor with literal notation for creating the regex as the constructor causes problems on IE 11 with the second argument being present.
We need to either refactor the above mentioned occurrences or add a polyfill.