<p>Hmm, ah, so the main purpose for single line matching is to save memory, since a 1-2 GB txt file might cause some serious trouble.. and is just not as optimized as searching line by line, no?</p>
<p>But again especially regex like "(.+)\nfoobar" or anything with "\n" will fail without multi-line search. Anyway, I see why there are both options. But at least there should be something like a warning that "\n cannot be found in single-line mode" or something, unless someone has a better solution, which could also be optimized while being able to detect every symbol and regex correctly (one less option to care about).</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=AAIOWJ4CO6Y7KJVPCQBWNQTPXAB3XA5CNFSM4DYICKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWFWSDA#issuecomment-495675660">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJY7LDNE2T5USYNTBBLPXAB3XANCNFSM4DYICKNQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5AWUDX3UCU77OPP3TPXAB3XA5CNFSM4DYICKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWFWSDA.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=AAIOWJ4CO6Y7KJVPCQBWNQTPXAB3XA5CNFSM4DYICKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWFWSDA#issuecomment-495675660",
"url": "https://github.com/geany/geany/issues/1588?email_source=notifications\u0026email_token=AAIOWJ4CO6Y7KJVPCQBWNQTPXAB3XA5CNFSM4DYICKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWFWSDA#issuecomment-495675660",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>