diff --git a/trailer.html b/trailer.html index 2ba2537..1fa4c3a 100644 --- a/trailer.html +++ b/trailer.html @@ -1480,7 +1480,7 @@ // filmed and current, red when it still needs work - so nobody scrolls // through seventy cards to find one. function hasScenes(shots) { return shots.length > 8 && shots.filter(function (x) { return x.scene; }).length > shots.length / 2; } - function sceneKey(s) { return String(s.place || s.scene || s.setting || "").toLowerCase().replace(/^(int|ext)\.?\s*\/?\s*(int|ext)?\.?\s*/, "").replace(/\s*[-–—]\s*(day|night|dawn|dusk|morning|evening|afternoon|late afternoon|continuous|the storm|the tornado).*$/, "").replace(/[^a-z0-9]+/g, " ").trim(); } + function sceneKey(s) { return String(s.place || s.scene || s.setting || "").replace(/\s*~\d+$/, "").toLowerCase().replace(/^(int|ext)\.?\s*\/?\s*(int|ext)?\.?\s*/, "").replace(/\s*[-–—]\s*(day|night|dawn|dusk|morning|evening|afternoon|late afternoon|continuous|the storm|the tornado).*$/, "").replace(/[^a-z0-9]+/g, " ").trim(); } // Two keys name one place when one begins with the other ("farmyard", // "farmyard gravel drive"). And a scene that cuts between the kitchen and // the doorstep is ONE scene: a place that comes back within two groups