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

adding regex matching capability #116

Merged
merged 2 commits into from
Jun 14, 2016
Merged

adding regex matching capability #116

merged 2 commits into from
Jun 14, 2016

Conversation

mmcquillan
Copy link
Owner

No description provided.

if re {
regx := regexp.MustCompile(pattern)
match = regx.MatchString(value)
} else if ws && ws && strings.Contains(value, pattern) {
Copy link
Contributor

@kcwinner kcwinner Jun 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be "... ws && we...". Might as well change it now and close out the other issue I created for it!

@mmcquillan
Copy link
Owner Author

@kcwinner how about now, didn't notice the issue was unresolved

@kcwinner
Copy link
Contributor

LGTM! Merge it in

@mmcquillan mmcquillan merged commit ea38ded into master Jun 14, 2016
@mmcquillan mmcquillan deleted the regex_match branch June 14, 2016 15:53
@mmcquillan mmcquillan restored the regex_match branch July 25, 2016 15:43
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