In the following screenshot, when right-clicking on acceptableEloRegex and choosing Refactor, no option appears for inlining. The only usage of this variable in the codebase was in the definition right below it.
Code in text form:
export const acceptableEloRegex = new RegExp(`^${acceptableEloPattern}$`);
export const isAcceptableElo = (value: string): boolean =>
acceptableEloRegex.test(value);