See `binary:compile_pattern()/1`.