-record(pattern, {regex :: binary()}).