# match var (regex)

Source: https://ref.dm-lang.org/regex/var/match
Added in BYOND 510.

After a call to Find(), this var contains the text that was matched.

### See also
- [regex datum](https://ref.dm-lang.org/regex/index.md)
- [Find proc (regex)](https://ref.dm-lang.org/regex/proc/Find.md)
- [group var (regex)](https://ref.dm-lang.org/regex/var/group.md)
- [index var (regex)](https://ref.dm-lang.org/regex/var/index_page.md)
