--

My guess is that the regular expression that Medium uses to capture TK expects "TK" in that capitalization followed by 0 or more whitespace characters -- something like /TK\s*/ -- so it doesn't match TK followed by other characters.

Why they coded it that way is probably because it met whatever requirements non-technical product managers and executives told the engineers to build.

--

--

Dr. Derek Austin 🥳
Dr. Derek Austin 🥳

Written by Dr. Derek Austin 🥳

Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.

No responses yet