<p>Its not just a regex option, when the <code>multiline</code> option is clear Geany actually searches line by line.</p>
<p>This is also a premature optimization since it can save having to coalesce the Scintilla buffer which can result in moving the entire document in memory if the cursor is near the start of a document.  If thats really an issue requires benchmarking, but its likely to only apply to <em>very</em> large documents (and whats large depends on your machine).</p>
<p>As to which should be the default, myeh.</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/1588?email_source=notifications&email_token=AAIOWJ2U3DGY2WAKAC26F7DPWSLJFA5CNFSM4DYICKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5S63A#issuecomment-494612332">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ33N5FLT6VZUN7OO3TPWSLJFANCNFSM4DYICKNQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJZDKG2WZRXNDWSZQDTPWSLJFA5CNFSM4DYICKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5S63A.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/1588?email_source=notifications\u0026email_token=AAIOWJ2U3DGY2WAKAC26F7DPWSLJFA5CNFSM4DYICKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5S63A#issuecomment-494612332",
"url": "https://github.com/geany/geany/issues/1588?email_source=notifications\u0026email_token=AAIOWJ2U3DGY2WAKAC26F7DPWSLJFA5CNFSM4DYICKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5S63A#issuecomment-494612332",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>