Is it possible to get subgroups of RegExp?

This question probably relates more to Sharp than to VL
But maybe someone can help?

I’m really curious, is it possible to get subgroups? There’s a lot about named groups in Sharp, I’m a bit confused, the examples didn’t help either.

Here I was working on expression:

And here I am trying to replicate Microsoft’s examples:

It’s noticeable that I can’t get “subgroups”. Maybe I’m doing something wrong or it’s not possible at all?

Works!
изображение

it seems that the patched version does not work properly

gcode.zip (6.6 KB)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.