SimpleRegex/SRL-PHP

Why does 'literally' create a noncapturing group?

Opened this issue · 3 comments

I'm working on a python implementation of srl and I'm wondering why literally creates a noncapturing group i.e. (?: ...)

Hi @nsgonultas,

it does that to ensure that all quantifiers address the complete word, not only the last character.

By the way, if you like, I can add you to our Slack team and the official Python repository. That way you can communicate with the other developers.

My implementation has little syntax differences and a non-profit license. So I prefer working seperately. However I'm watching this repo and official Python repo. I would like to help if needed 👍

Alright, have fun then. Let me know when you're done :)