# SE-0350 (second review): Regex Type and Overview

**URL:** <https://forums.swift.org/t/se-0350-second-review-regex-type-and-overview/56886>\
**Category:** Proposal Reviews\
**Created:** [April 22, 2022, 12:59am UTC](https://forums.swift.org/t/se-0350-second-review-regex-type-and-overview/56886 "2022-04-22T00:59:34Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![benlings](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/benlings/32/13011_2.png) [@benlings](https://forums.swift.org/u/benlings)\
**Post date:** [April 24, 2022, 7:44pm UTC](https://forums.swift.org/t/se-0350-second-review-regex-type-and-overview/56886/11 "2022-04-24T19:44:09Z")

</div>

Should the behaviour of `~=` be anchored (`wholeMatch`) or unanchored (`firstMatch`)? I've commented about this in the [String processing algorithms pitch thread](https://forums.swift.org/t/pitch-regex-powered-string-processing-algorithms/55969/11) to avoid derailing the review of SE-0350.

---

_[View the full topic](https://forums.swift.org/t/se-0350-second-review-regex-type-and-overview/56886)._
