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

Subsection operation #467

Merged
merged 3 commits into from
Jan 10, 2019
Merged

Subsection operation #467

merged 3 commits into from
Jan 10, 2019

Conversation

j433866
Copy link
Member

@j433866 j433866 commented Jan 8, 2019

Add a new flow control operation to operate only on a section of the input data (#427 ).

This operation works in a similar way to Fork, running all subsequent operations on the input subsection until a Merge is reached.

@n1474335 n1474335 merged commit 8ac5b48 into gchq:master Jan 10, 2019
@n1474335
Copy link
Member

Good stuff. I added in a 'Global match' argument just in case a user wants to operate on only the first instance of a pattern.

It would be good to see some tests for this op at some point, especially as it manipulates the recipe. We could easily break this in future in loads of different ways, so it would be good to get that flagged up by a test.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants