From 310c82bd2de7e50f5687a7fef55b150ddae5038f Mon Sep 17 00:00:00 2001 From: Conor Rafferty Date: Tue, 21 Jan 2020 17:40:02 -0500 Subject: [PATCH] Ssssssupport for Gen Z, gen-Z, and related --- Source/content_script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/content_script.js b/Source/content_script.js index 8968b3de..9d76a3c1 100644 --- a/Source/content_script.js +++ b/Source/content_script.js @@ -123,8 +123,8 @@ function replaceText(v) v = v.replace(/\bdigital native(s)?\b/g, "parseltongue$1"); // Generation Z - v = v.replace(/\bGeneration Z\b/g, "The Zolom's Children"); - v = v.replace(/\bgeneration Z\b/g, "the Zolom's children"); + v = v.replace(/\bGen(?:eration|-)? ?Z\b/g, "The Zolom's Children"); + v = v.replace(/\bgen(?:eration|-)? ?(?i)Z\b/g, "the Zolom's children"); v = v.replace(/\bZ Generation\b/g, "Children of the Zolom"); v = v.replace(/\bz generation\b/g, "children of the Zolom");