fixed 0-key and 1-key character validation (#305)
This commit is contained in:
parent
0aa934cebd
commit
80ab777b3e
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ static def validateDictionaryLine(String line, int lineNumber) {
|
|||
}
|
||||
|
||||
static def extractAlphabetCharsFromLine(String line) {
|
||||
if (line.contains('DEFAULT') || !line.matches('\\s+- \\[.+?\\].*')) {
|
||||
if (line.contains('PUNCTUATION') || line.contains('SPECIAL') || !line.matches('\\s+- \\[.+?\\].*')) {
|
||||
return ''
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue