# Which RegEx syntax does Gramps use?

**URL:** <https://gramps.discourse.group/t/which-regex-syntax-does-gramps-use/2278>\
**Category:** Help\
**Tags:** regular-expression\
**Created:** [February 18, 2022, 11:21am UTC](https://gramps.discourse.group/t/which-regex-syntax-does-gramps-use/2278 "2022-02-18T11:21:22Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [June 23, 2022, 1:56pm UTC](https://gramps.discourse.group/t/which-regex-syntax-does-gramps-use/2278/12 "2022-06-23T13:56:33Z")

</div>

> [@prculley](#):
>
> Gramps uses the Python version of regular expressions [re — Regular expression operations — Python 3.10.2 documentation](https://docs.python.org/3/library/re.html)

in the documentation you cited, the following note is in the opening section of the docs.

> See also
> 
> The third-party [regex](https://pypi.org/project/regex/) module, which has an API compatible with the standard library [`re`](https://docs.python.org/3/library/re.html#module-re) module, but offers additional functionality and a more thorough Unicode support.

Given that Gramps is heavy in Unicode use (and the recent inquiry about Case Sensitivity not being controllable), is that third-party **regex** more appropriate for Gramps than the standard library **re** module?

---

_[View the full topic](https://gramps.discourse.group/t/which-regex-syntax-does-gramps-use/2278)._
