<p>It would be very useful to be able to search across multiple lines in "Find in Files". This doesn't work using patterns (\n) or by pasting in the line break character.</p>
<p>I realize this is all because <code>grep</code> doesn't really support multi-line searches, and it would not be difficult to implement this request.</p>
<p>It might be possible to add support for <code>pcregrep</code> to do what we need, with Geany complaining if you are searching for a linebreak-containing string and there being no <code>pcregrep</code> installed.</p>
<p>Or, we could dump grep and move find in files internally, using the same engine as the current Find feature.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2322?email_source=notifications&email_token=AAIOWJ6PXG76DDX7XHSGOPTQLKCP7A5CNFSM4I2FFBWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNN6ANA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7I35EPDVBYT2RP33LQLKCP7ANCNFSM4I2FFBWA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ35KRT7T2P7OQ4I7WDQLKCP7A5CNFSM4I2FFBWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNN6ANA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2322?email_source=notifications\u0026email_token=AAIOWJ6PXG76DDX7XHSGOPTQLKCP7A5CNFSM4I2FFBWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNN6ANA",
"url": "https://github.com/geany/geany/issues/2322?email_source=notifications\u0026email_token=AAIOWJ6PXG76DDX7XHSGOPTQLKCP7A5CNFSM4I2FFBWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNN6ANA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>