Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[R] Genetically generated regex. I have a trouble understanding part of the paper.

[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:

https://preview.redd.it/lh97wet58r641.png?width=1559&format=png&auto=webp&s=256cc717d5213ec159f166d887399b4da70f062d

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
[link] [comments]

Next Meetup

 

Days
:
Hours
:
Minutes
:
Seconds

 

Plug yourself into AI and don't miss a beat

 


Toronto AI is a social and collaborative hub to unite AI innovators of Toronto and surrounding areas. We explore AI technologies in digital art and music, healthcare, marketing, fintech, vr, robotics and more. Toronto AI was founded by Dave MacDonald and Patrick O'Mara.