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

[TH2-3689] Mangler > Add basic support for repeating groups #24

Open
wants to merge 1 commit into
base: version-0
Choose a base branch
from

Conversation

cordwelt
Copy link
Contributor

No description provided.

@cordwelt cordwelt force-pushed the TH2-3689 branch 2 times, most recently from 513b7d6 to aa71f63 Compare February 17, 2023 13:42
matching: C
```

Where `group` is a name of a predefined group and `contains` is a list of field selectors

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:

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

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.

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