<p>When a "regular expression is too large" error happens, you may not see the cause of the error, because the explanation shows horizontally after the regular expression, which as we know, is too large.</p>
<p>This error message seems to be generated by PCRE. Perhaps if the error message is too large to show, there should be a popup alert. Or perhaps just always do a popup alert.</p>
<p>You can reproduce with this regexp:</p>
<pre><code>(a|b){0,1000}(a|b){0,1000}(a|b){0,1000}
</code></pre>
<p>To see the message truncate just resize your window or repeat the regexp a few times.</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/2244?email_source=notifications&email_token=AAIOWJ7AD43PIAJINBVRXXDQC6AUXA5CNFSM4IJGZDBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDIVFFQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6YDBG77NTGXETQTC3QC6AUXANCNFSM4IJGZDBA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJZTLZ4EY77RMKDXMNLQC6AUXA5CNFSM4IJGZDBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDIVFFQ.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/2244?email_source=notifications\u0026email_token=AAIOWJ7AD43PIAJINBVRXXDQC6AUXA5CNFSM4IJGZDBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDIVFFQ",
"url": "https://github.com/geany/geany/issues/2244?email_source=notifications\u0026email_token=AAIOWJ7AD43PIAJINBVRXXDQC6AUXA5CNFSM4IJGZDBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDIVFFQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>