简体   繁体   中英

IupText MASK attribute for hex string input

What should be the mask for iupText attribute MASK for entering a hexadecimal string of a certain length, for example, the 16-character sequence like 5A18F077D90ABB39? All I could think of was 16 times [0-9a-fA-F].

The mask "[0-9a-fA-F]+" will do the job for repeating the pattern. Setting also NC=16 attribute restricts the number of characters.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM