Regular Expressions for DER signature hex (also req, address, TxIDs)?
For DER sigs, it's possible for R or S to be very small.


DER sigs: re.compile('^30[0-9a-fA-F]{72,136}02[0-9a-fA-F]{0,64}02[0-9a-fA-F]{0,64}[0-9a-fA-F]{8}')


Bitcoin addresses cannot have a 0. Also the {1} is superfluous


Bitcoin addresses: re.compile('^[123mn][a-km-zA-HJ-NP-Z1-9]{26,33}$')


Again, {1} is superfluous for OP_RETURN. Also, the a might be capitalized.


OP Return hex strings: re.compile('^6[aA][a-fA-F0-9]{0,80}$')


TXIDs are fine