obspy.clients.fdsn.client.Client.RE_HEX4

Client.RE_HEX4 = '(?:[\\d,a-f]{4}|[1-9,a-f][0-9,a-f]{0,2}|0)'

Regex for HEX4