Md2Autocomplete don´t escape special characters on input in regex when insert '+'
l2radamanthys opened this issue · 0 comments
Bug Md2Autocomplete don´t escape special characters on input in regex when insert '+'
core.es5.js:1084 ERROR SyntaxError: Invalid regular expression: /+/: Nothing to repeat
at new RegExp ()
at autocomplete.js:313
at Array.filter ()
at Md2Autocomplete.webpackJsonp.../../../../Md2/autocomplete/autocomplete.js.Md2Autocomplete.updateItems (autocomplete.js:313)
at autocomplete.js:233
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:414)
at Object.onInvokeTask (core.es5.js:4116)
at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:413)
at Zone.webpackJsonp.../../../../zone.js/dist/zone.js.Zone.runTask (zone.js:181)
at ZoneTask.invoke (zone.js:476)