rules icon indicating copy to clipboard operation
rules copied to clipboard

Getting matched groups

Open mingfang opened this issue 4 years ago • 0 comments

Is there a way to get the matched groups when using a rule matching pattern that contains groups?

For example, this code matches three groups. https://github.com/jruizgit/rules/blob/72070f4d686142dcc44ee26a6cad0e8c531f9d24/testpy/testsamples.py#L145

I would like to get the value of the matched groups.

mingfang avatar Aug 31 '21 15:08 mingfang