HomePhabricator

rust-matchers: add `build_regex_match` function

Authored by Alphare.

Description

rust-matchers: add build_regex_match function

This function will be used to help build the upcoming IncludeMatcher.

Differential Revision: https://phab.mercurial-scm.org/D7924