# Anchored Regex on array of tags

**URL:** <https://discuss.elastic.co/t/anchored-regex-on-array-of-tags/45741>\
**Category:** Elasticsearch\
**Created:** [March 29, 2016, 11:34pm UTC](https://discuss.elastic.co/t/anchored-regex-on-array-of-tags/45741 "2016-03-29T23:34:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 30, 2016, 2:13am UTC](https://discuss.elastic.co/t/anchored-regex-on-array-of-tags/45741/2 "2016-03-30T02:13:46Z")

</div>

I recently saw someone doing this in another thread and the comment from one of the ES team was that we don't apply anchors as Lucene always anchors them.

Take a look at [Regexp support for matching at the beginning (^) and the end ($)](https://discuss.elastic.co/t/regexp-support-for-matching-at-the-beginning-and-the-end/45030/4) for more

---

_[View the full topic](https://discuss.elastic.co/t/anchored-regex-on-array-of-tags/45741)._
