Never use the word "pattern" in the context of matching text as it's highly ambiguous. For example, each of these will produce the expected output from your posted sample input but mean very different things and will behave very differently from each other given different input and the right one for you to use depends on what you mean by "pattern":
Full regexp match:
$ awk '{print} /^pattern$/{exit}' file
bla bla
bla bla
pattern
Partial regexp match:
$ awk '{print} /pattern/{exit}' file
bla bla
bla bla
pattern
Full string match:
$ awk '{print} $0=="pattern"{exit}' file
bla bla
bla bla
pattern
Partial string match:
$ awk '{print} index($0,"pattern"){exit}' file
bla bla
bla bla
pattern
There are other possibilities too depending on whether you want word or line matches. See How do I find the text that matches a pattern?.