Skip to content

patternMatcher: Return single best match instead of list#23166

Merged
2 commits merged into
masterfrom
matchinfo
Apr 11, 2018
Merged

patternMatcher: Return single best match instead of list#23166
2 commits merged into
masterfrom
matchinfo

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Apr 5, 2018

Previously this returned a list, and the caller was responsible for going through the list to look for the best match. I think it simplifies the API if this is handled in patternMatcher itself.

@ghost ghost force-pushed the matchinfo branch from 481a1ef to 9a889fa Compare April 5, 2018 15:29
@ghost ghost force-pushed the matchinfo branch from 9a889fa to e1cc3fa Compare April 5, 2018 15:53
@ghost ghost requested a review from mhegazy April 10, 2018 21:38
@ghost ghost merged commit 28455c6 into master Apr 11, 2018
@ghost ghost deleted the matchinfo branch April 11, 2018 22:35
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant