# Canister exceeded the limit of 5000000000 instructions for single message execution

**URL:** <https://forum.dfinity.org/t/canister-exceeded-the-limit-of-5000000000-instructions-for-single-message-execution/37228>\
**Category:** Developers\
**Created:** [November 12, 2024, 11:00am UTC](https://forum.dfinity.org/t/canister-exceeded-the-limit-of-5000000000-instructions-for-single-message-execution/37228 "2024-11-12T11:00:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![skilesare](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/skilesare/32/5609_2.png) [@skilesare](https://forum.dfinity.org/u/skilesare)\
**Post date:** [November 12, 2024, 1:10pm UTC](https://forum.dfinity.org/t/canister-exceeded-the-limit-of-5000000000-instructions-for-single-message-execution/37228/6 "2024-11-12T13:10:30Z")

</div>

Haha…maybe I’m wrong…wouldn’t be the first time::

> [@Building a Motoko Regex Engine](https://forum.dfinity.org/t/building-a-motoko-regex-engine/37214):
>
> Hello Motoko Developers, I’m excited to share the first article in my four-part series, created as part of a developer grant for my Motoko regex engine. You can read the article here: [https://link.medium.com/w2QEghJbsOb](https://t.co/avMEnB3Wuc). To experiment with the lexer’s functionality, visit the Motoko Playground here: [https://m7sm4-2iaaa-aaaab-qabra-cai.raw.ic0.app/?tag=2386595171](https://m7sm4-2iaaa-aaaab-qabra-cai.raw.ic0.app/?tag=2386595171). If you’d like to explore the code further, the repository is available on GitHub: [GitHub - Demali-876/motoko\_regex\_engine: Regex Engi…](https://github.com/Demali-876/motoko_regex_engine)

Maybe @demali.icp may have some good insights on where they were seeing some slow down or optimization opportunities.

---

_[View the full topic](https://forum.dfinity.org/t/canister-exceeded-the-limit-of-5000000000-instructions-for-single-message-execution/37228)._
