Fix typoed character ranges (A-z => A-Z)
Signed-off-by: James McCoy <vega.james@gmail.com> Merge to v6.0
This commit is contained in:
parent
c27c26fb16
commit
bdec6c33ff
|
@ -470,13 +470,13 @@
|
|||
(#"^(\\d+)\\s+IN\\s+SOA\\s+(\\S+)\\s+(\\S+)\\s*\\(\\s*$" #"1 IN SOA non-sp1 non-sp2(" (#"1 IN SOA non-sp1 non-sp2(" #"1" #"non-sp1" #"non-sp2"))
|
||||
(#"^(\\d+)\\s+IN\\s+SOA\\s+(\\S+)\\s+(\\S+)\\s*\\(\\s*$" #"1 IN SOA non-sp1 non-sp2 (" (#"1 IN SOA non-sp1 non-sp2 (" #"1" #"non-sp1" #"non-sp2"))
|
||||
(#"^(\\d+)\\s+IN\\s+SOA\\s+(\\S+)\\s+(\\S+)\\s*\\(\\s*$" #"1IN SOA non-sp1 non-sp2(" #f)
|
||||
(#"^[a-zA-Z\\d][a-zA-Z\\d\\-]*(\\.[a-zA-Z\\d][a-zA-z\\d\\-]*)*\\.$" #"a." (#"a." #f))
|
||||
(#"^[a-zA-Z\\d][a-zA-Z\\d\\-]*(\\.[a-zA-Z\\d][a-zA-z\\d\\-]*)*\\.$" #"Z." (#"Z." #f))
|
||||
(#"^[a-zA-Z\\d][a-zA-Z\\d\\-]*(\\.[a-zA-Z\\d][a-zA-z\\d\\-]*)*\\.$" #"2." (#"2." #f))
|
||||
(#"^[a-zA-Z\\d][a-zA-Z\\d\\-]*(\\.[a-zA-Z\\d][a-zA-z\\d\\-]*)*\\.$" #"ab-c.pq-r." (#"ab-c.pq-r." #".pq-r"))
|
||||
(#"^[a-zA-Z\\d][a-zA-Z\\d\\-]*(\\.[a-zA-Z\\d][a-zA-z\\d\\-]*)*\\.$" #"sxk.zzz.ac.uk." (#"sxk.zzz.ac.uk." #".uk"))
|
||||
(#"^[a-zA-Z\\d][a-zA-Z\\d\\-]*(\\.[a-zA-Z\\d][a-zA-z\\d\\-]*)*\\.$" #"x-.y-." (#"x-.y-." #".y-"))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\-\\d]*[a-z\\d]+)?)*$" #"*.c3-b.c" (#"*.c3-b.c" #"3-b" #".c" #f))
|
||||
|
|
|
@ -46,7 +46,7 @@ See more in PR8831.
|
|||
;; differences between the two encodings.
|
||||
|
||||
;; The URI encoding uses allows a few characters to be represented `as
|
||||
;; is': a-Z, A-Z, 0-9, -, _, ., !, ~, *, ', ( and ). The remaining
|
||||
;; is': a-z, A-Z, 0-9, -, _, ., !, ~, *, ', ( and ). The remaining
|
||||
;; characters are encoded as %xx, where xx is the hex representation
|
||||
;; of the integer value of the character (where the mapping
|
||||
;; character<->integer is determined by US-ASCII if the integer is
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
(define (collection-name-element? name)
|
||||
(and (string? name)
|
||||
(regexp-match #rx"^[a-zA-z0-9+_%-]+$" name)
|
||||
(regexp-match #rx"^[a-zA-Z0-9+_%-]+$" name)
|
||||
;; Using `module-path?' checks that "%" is used apprrpriately:
|
||||
(module-path? name)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user