From 7c359aa390c5f75f15c4a6b34ff6b0f93f8a3f84 Mon Sep 17 00:00:00 2001 From: Kevin Belisle Date: Wed, 1 Sep 2021 12:09:35 -0400 Subject: [PATCH] Remove apparently useless look behind (fix Safari) --- spa/src/AggregatesShowcase.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spa/src/AggregatesShowcase.js b/spa/src/AggregatesShowcase.js index 2cd1144..79a78be 100644 --- a/spa/src/AggregatesShowcase.js +++ b/spa/src/AggregatesShowcase.js @@ -81,10 +81,7 @@ const AggregatesShowcase = () => { {prettifyStatisticName(x.type, x.name)} {`${x.value .toString() - .replace( - /\B(? + .replace(/\B(?=(\d{3})+(?!\d))/g, ",")}`} ); })}