[R] Genetically generated regex. I have a trouble understanding part of the paper.
![]() |
Hello, I’m working on task of automatically generating regular expressions. I base my work on this paper: https://esc.fnwi.uva.nl/thesis/centraal/files/f565297164.pdf However I have a problem of understanding part on the 19th page, the part about ‘r` node in Enclosing Node part. I’m not sure what ‘based on the number of capturing groups’ means. It it exactly the number of capturing groups in the part of a regexp before ‘r”, or number of matches of the expression in a string, or something else? And what’s the use of it? I would be very thankful for any suggestions. This part says: Paper is really good read, by the way. Greatly written. However I don’t have much experience with REGEX so I’m not sure what this specific part means. submitted by /u/Slajni |