[Github-comments] [geany/geany] "regular expression is too large" error is not visible (#2244)

Chris Graham notifications at xxxxx
Mon Aug 5 01:43:39 UTC 2019


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.

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.

You can reproduce with this regexp:
```
(a|b){0,1000}(a|b){0,1000}(a|b){0,1000}
```

To see the message truncate just resize your window or repeat the regexp a few times.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2244
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190804/af008234/attachment.html>


More information about the Github-comments mailing list