remove an FP in overly-large-range for [@-Z]

This commit is contained in:
erik-krogh
2024-01-25 14:15:06 +01:00
parent 2333b8db5b
commit 396da117bb
2 changed files with 6 additions and 1 deletions

View File

@@ -29,4 +29,6 @@ var overlapsWithClass2 = /[\w,.-?:*+]/; // NOT OK
var tst2 = /^([ァ-ヾ]|[ァ-ン゙゚])+$/; // OK
var tst3 = /[0-9-]/; // OK
var question = /[0-?]/; // OK. matches one of: 0123456789:;<=>?
var question = /[0-?]/; // OK. matches one of: 0123456789:;<=>?
var atToZ = /[@-Z]/; // OK. matches one of: @ABCDEFGHIJKLMNOPQRSTUVWXYZ