diff --git a/src/UI/InputElement/Validators/RegexValidator.ts b/src/UI/InputElement/Validators/RegexValidator.ts index 3dbb2f87e6..37bfed2dbf 100644 --- a/src/UI/InputElement/Validators/RegexValidator.ts +++ b/src/UI/InputElement/Validators/RegexValidator.ts @@ -1,11 +1,10 @@ import StringValidator from "./StringValidator" -import { s } from "vitest/dist/env-afee91f0" import { Translation } from "../../i18n/Translation" import Translations from "../../i18n/Translations" export default class RegexValidator extends StringValidator { constructor() { - super("regex", "Validates a regex") + super("regex", "Only used when your input should be a valid regex. This validator is only used as helper for Studio and should not be used in a mapcomplete-theme.") } getFeedback(s: string): Translation | undefined {