regexIdCard15 constant

String const regexIdCard15

ID card number regex (15 digits).

Implementation

static const String regexIdCard15 =
    '^[1-9]\\d{7}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}\$';