can't use strong.match(/regex/) in Angular templates
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 23 Jan 2020 14:53:22 +0000 (09:53 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 23 Jan 2020 14:54:40 +0000 (09:54 -0500)
commit74e65d311beab6dfefd6ad0af435ac3f4afcf8de
treee94def36201e45ce2e2be1743ed9980d0551c893
parent56fd18746cd749c24064abaad8ff604df62b31eb
can't use strong.match(/regex/) in Angular templates

... so in this case, switch to startsWith() and endsWith().
See https://github.com/angular/angular/issues/6419

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search-form.component.html