-
Notifications
You must be signed in to change notification settings - Fork 0
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
[TH2-3689] Mangler > Add basic support for repeating groups #24
base: version-0
Are you sure you want to change the base?
Conversation
513b7d6
to
aa71f63
Compare
matching: C | ||
``` | ||
|
||
Where `group` is a name of a predefined group and `contains` is a list of field selectors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please explain what will be happened when a message contains more than one group matched by filter
NoPartyIDs: | ||
counter: 453 | ||
delimiter: 448 | ||
tags: [ 447, 452 ] | ||
rules: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add example where we update repeating group field
var group = fields.findGroup(counter, delimiter, tags) | ||
|
||
while (group != null) { | ||
if (selectors.all(group::contains)) return group |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add information into README about behavior of this function in case where several groups contains the same values.
No description provided.