Open gianluca-valentini opened 7 years ago
I tryed to solve this issue modifying the RegexMatch java class
Yes, it looks like the matcher only retrieves the first one and not all of them. I'll need to figure out if changing that will subtly change behavior so that other patterns stop working, but I suspect it won't.
If you'd like to contribute I would like to ask to send pull requests instead of zip files. For unfortunate legal reasons we need to be able to attribute changes and require a signed contributors license agreement (which is automated via pull request on github).
Thanks!
Hi kroepke, I just submitted the pull request (#174). Thanks Gianluca
Problem description
Function regex should return all the occurrences that satisfy the given pattern. It seems that if we use a regex pattern that should find more then one occurence, the function only returns the first one.
Steps to reproduce the problem
create the following rule:
My expected result should be: 0: foo1 1:foo2
Instead I get the only 0:foo1 group.
Environment