go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.14k stars 1.29k forks source link

exclude multiple characters in ascii hex form #1152

Open wxmeng04 opened 10 months ago

wxmeng04 commented 10 months ago

Package version eg. v9, v10:

v10

Issue, Question or Enhancement:

How to exclude multiple charactors in hex form? Example below will not work obviosly. What's the correct one?

Code sample, to showcase or reproduce:

excludesall=0x20,0x22,0x27,0x28,0x29,0x2C,0x60,0x7C