#include <stdio.h>
#include <regex.h>
int main(void)
{
char *regPatt = regPatt = "^HR([0-9]{2})$";
regex_t regex;
short retval = regcomp (®ex, regPatt, REG_EXTENDED);
short status = regexec (®ex, "HR16", (size_t) 0, NULL, 0);
regfree (®ex);
}
I2luY2x1ZGUgIDxzdGRpby5oPgojaW5jbHVkZSAgPHJlZ2V4Lmg+CgppbnQgbWFpbih2b2lkKQp7CiAgIGNoYXIgICAgKnJlZ1BhdHQgPSByZWdQYXR0ID0gIl5IUihbMC05XXsyfSkkIjsKICAgcmVnZXhfdCAgcmVnZXg7CiAgIHNob3J0ICAgIHJldHZhbCA9IHJlZ2NvbXAgKCZyZWdleCwgcmVnUGF0dCwgUkVHX0VYVEVOREVEKTsKICAgc2hvcnQgICAgc3RhdHVzID0gcmVnZXhlYyAoJnJlZ2V4LCAiSFIxNiIsIChzaXplX3QpIDAsIE5VTEwsIDApOwoKICAgcHJpbnRmICgiJWhkIiwgc3RhdHVzKTsKCiAgIHJlZ2ZyZWUgKCZyZWdleCk7Cn0=