From 4c3ed76e0df75dd792d498a4a162c76cc9f35ed3 Mon Sep 17 00:00:00 2001 From: Ghislain Beaulac Date: Tue, 12 Nov 2019 09:26:03 -0500 Subject: [PATCH] fix(firefox): thousand separator regex lookbehind not allow, fixes #336 --- src/app/modules/angular-slickgrid/services/utilities.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/modules/angular-slickgrid/services/utilities.ts b/src/app/modules/angular-slickgrid/services/utilities.ts index a1ea9cac0..c48872236 100644 --- a/src/app/modules/angular-slickgrid/services/utilities.ts +++ b/src/app/modules/angular-slickgrid/services/utilities.ts @@ -614,7 +614,11 @@ export function setDeepValue(obj: any, path: string | string[], value: any) { export function thousandSeparatorFormatted(inputValue: string | number | null, separator: ',' | '_' | '.' | ' ' | '' = ','): string | null { if (inputValue !== null && inputValue !== undefined) { const stringValue = `${inputValue}`; - return stringValue.replace(/(?