# Regular expressions in SMTK

**URL:** https://discourse.kitware.com/t/regular-expressions-in-smtk/924
**Category:** Using SMTK
**Created:** [November 3, 2022, 2:44pm UTC](https://discourse.kitware.com/t/regular-expressions-in-smtk/924 "2022-11-03T14:44:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dcthomp](https://discourse.kitware.com/user_avatar/discourse.kitware.com/dcthomp/32/10_2.png) [@dcthomp](https://discourse.kitware.com/u/dcthomp)
#### Post date: [November 3, 2022, 2:44pm UTC](https://discourse.kitware.com/t/regular-expressions-in-smtk/924/1 "2022-11-03T14:44:35Z")

</div>

Hi all! We are about to merge [SMTK MR 2810](https://gitlab.kitware.com/cmb/smtk/-/merge_requests/2810), which allows SMTK to switch between `std::regex` and `boost::regex` (this will become more important as C++ is deprecating `std::regex`).

Going forward, this means you should include `"smtk/Regex.h"` instead of including `<regex>` or `<boost/regex.hpp>`.
