# Enabling multiline search with pcre:yes

You can also search using the
[PCRE subset supported by RE2](http://htmlpreview.github.io/?https://github.com/google/re2/blob/master/doc/syntax.html)
by adding `pcre:yes` to your search. When you use `pcre:yes`, the entire
search expression is treated as a perl-compatible regular expression.

This is particularly useful when you want to do a search across line breaks.

A search for `{\s+generate_java pcre:yes` finds

    mojom("mojom") {
      generate_java = true

while the search `{\s+generate_java` will not because `{` is not on the same line as `generate_java`.