requireUnicodeFlagMissing the 'u' or 'v' unicode flag on this regex() call. Use the unicode flag to avoid silently creating invalid regex patterns.small-rules/require-unicode-regexRequire the 'u' or 'v' unicode flag on calls named regex().
requireUnicodeFlagMissing the 'u' or 'v' unicode flag on this regex() call. Use the unicode flag to avoid silently creating invalid regex patterns.This rule does not accept options.
const x = regex("foo");const x = regex("foo", "u");