forked from MapComplete/MapComplete
Clarify documentation
This commit is contained in:
parent
3468837e0b
commit
8327066a3c
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue