Hello contributors and community,
I would welcome hearing from any of you how you feel about AI and PCRE2.
As my own personal context, I have been a bit of a late adopter, using it in my job for about a year. Because I work with a very large legacy codebase at Microsoft, my particular team hasn't had much satisfaction with the code written by models. However, I use it constantly to review as I go, do broad code-wise searches, prove/disprove invariants, and for large-but-mechanical tasks.
Just this summer, GPT 5.6 Sol (and potentially Opus 5) have finally become models good enough to actually start writing code for me. It will take a while for me to adjust my workflows, and I am fussy and will probably tweak and rewrite much of the output for the time being.
Still, I think everyone with a professional software job is probably in the same situation: hard to stop using it at this point.
As for PCRE2, we haven't discussed what guidelines or philosophy we have about that.
I do enjoy the 'craft' of software, typing and reasoning about the details myself. I will absolutely not use any code in PCRE2 that I do not understand very carefully myself! (Although for example Salvatorre says
Control the ideas, not the code - <antirez>).
PCRE2 is partly a hobby project, but it is also used in serious software.
In my personal life, I spend time with my children, my family, and enjoy other hobbies as well as PCRE2. I will never have the time to do all of the things I want to do, unless I make a big effort to reallocate that time.
With AI, I can see quite rapid development and improvement. I have many plans and ideas myself. Previously, large-scale change would have been impossible for me. In an hour or two a week, I can't make changes across all of PCRE (eg updating the UTF-8 handling).
I am happy to set out ideas for what I would like to do with PCRE2.
First however, I would welcome views and feelings from the community.
Do you have principles or guidelines you think we should adopt?
All the best,
Nick