# Which Regex Implementation Does Discourse Use?

**URL:** https://meta.discourse.org/t/which-regex-implementation-does-discourse-use/148935
**Category:** Development
**Created:** [April 23, 2020, 2:41am UTC](https://meta.discourse.org/t/which-regex-implementation-does-discourse-use/148935 "2020-04-23T02:41:03Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![kneiser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kneiser/32/178608_2.png) [@kneiser](https://meta.discourse.org/u/kneiser)
#### Post date: [April 28, 2020, 10:49pm UTC](https://meta.discourse.org/t/which-regex-implementation-does-discourse-use/148935/5 "2020-04-28T22:49:29Z")

</div>

In case anyone else stumbles upon this thread,  
I encourage you to check out:

> [@How to use Discourse regexes with watched words?](https://meta.discourse.org/t/could-someone-tell-me-about-discourse-regexes/61522/3):
>
> Reading that, I don’t see much about them except to see that they are Javascript regular expressions. (I would have assumed Ruby without that link.) So a Javascript reference would be in order. Which has internal links to specifications, if you want to go deeper.

I assumed wrongly just like @elijah over there: it’s actually Javascript-flavored.

Reach out to one of them if you’re still stuck 👍

---

_[View the full topic](https://meta.discourse.org/t/which-regex-implementation-does-discourse-use/148935)._
