Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add regexp.Match to template funcs #124

Merged
merged 1 commit into from
May 7, 2024
Merged

add regexp.Match to template funcs #124

merged 1 commit into from
May 7, 2024

Conversation

willnorris
Copy link
Member

Add a "Match" template func, which uses regexp.MatchString to match a value against a regular expression pattern.

Internal discussion: https://tailscale.slack.com/archives/C03DHMXREA3/p1715099034944409

cc @garrett-ts

Add a "Match" template func, which uses regexp.MatchString to match a
value against a regular expression pattern.

Fixes #125

Signed-off-by: Will Norris <[email protected]>
@willnorris willnorris merged commit 187497a into main May 7, 2024
4 checks passed
@willnorris willnorris deleted the will/regex branch May 7, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants