document regular expression examples
example with GCC exception where could be "give(s)?" or "give|gives" to get same outcome
might be good to have list of example of markup with explanation on where used (instead of having to find a license with similar markup to copy)
@goneall - can you confirm we use Java regular expressions (and if so, could we link to that as reference?)
The format for Regex is POSIX extended regular expression (ERE).
The Regex format is specified in the license template subsection of the license matching guidelines.
FYI - there is a GSoC project to update the Python license matching library now known as yalm(yet another license matcher). One of the challenges we are facing in this project is how to handle more complex regular expressions in the matching.
@m1kit is the student working on this project and may propose some suggestions to avoid certain patterns in the regular expressions to enable more accurate and higher performance license matching.
I'm going to assign this one to myself so I can coordinate with the GSoc project on the updates.
@zvr to summarize where we talk about or mention xml format for further discussion on upcoming call
@zvr - this is sort of the same or a subset of #1369, should we consolidate into that issue so we have one place??
Mentioned on 2022-09-08 call: Each regular expression should be documented in the minutes / issue / meeting etc. to confirm that the team agrees variations will be discussed and approved.