# Corresponder espaços na busca com sublinhados no texto

**URL:** <https://meta.discourse.org/t/match-spaces-in-search-with-underscores-in-text/82795>\
**Category:** Feature\
**Created:** [12 Março , 2018 13:50 UTC](https://meta.discourse.org/t/match-spaces-in-search-with-underscores-in-text/82795 "2018-03-12T13:50:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)\
**Post date:** [21 Março , 2018 22:51 UTC](https://meta.discourse.org/t/match-spaces-in-search-with-underscores-in-text/82795/3 "2018-03-21T22:51:43Z")

</div>

I have added this feature [FEATURE: Match spaces in search with underscores in text by majakomel · Pull Request #5690 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/5690)

I figured out that underscores are not escaped in exact term when searching `"enable_local_logins_via_email"`, so it already matches variations with different word sepataratos like `enable local logins via email` or `enable+local+logins+via+email`, I assume this is intended?  
With the change I added, spaces in the exact search term match the text where any word separators are used, not only underscores.

---

_[View the full topic](https://meta.discourse.org/t/match-spaces-in-search-with-underscores-in-text/82795)._
