Skip to content
Snippets Groups Projects
Commit 2d63c7e8 authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files
parent f714fd24
Branches
Tags
No related merge requests found
......@@ -5,7 +5,7 @@ export class CreateCommentKeywords {
static isKeywordAcceptable(keyword: string) {
const regex = /(^[ -@\[-`{-~]+$)/g;
return keyword.match(regex) === null && keyword.length > 1;
return keyword.match(regex) === null && keyword.length > 2;
}
static isSpellingAcceptable(languagetoolService: LanguagetoolService, text: string, language: Language = 'auto') {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment