Niu Danny wrote in <osapr01mb4979d5fb28ecd228091b178bc1...@osapr01mb4979.jpnprd01.prod.outl\ ook.com>: ... |Steffen Nurpmeso wrote in | <20240916150420.FRIEjRZF@steffen%sdaoden.eu>: | ... ||Having said that, Arnold Robbins of GNU awk quite enthusiastically ||posted somewhere (i cannot find nowhere where he did, actually) ||that he is about to change the implementation of its (regex of ||GNUlib) regular expression engine (alternatively) to a newly ||written one [2], ie, from Mike Haertel, famous for his ||implementation of GNU grep. He has opened an issue for itself in ||order to support "non-greedy repetition operators" already [3]. || || [2] https://github.com/mikehaertel/minrx || [3] https://github.com/mikehaertel/minrx/issues/12 ...
|@Steffen I see. I didn't realize when we said "Open Group member" we \ |meant a commercial entity that's producing an implementation (I'm not \ |a FOSS maniac, I've no opinion on commercial code or even proprietary \ Oh i am an absolute maniac, except for binary blob firmware i need to run. I think i referred to the tre regular expression library, which searches for a maintainer by the way. All these lucky FOSS guys which' software is used in masses by the big companies, i guess they swim in money .. and then up up and away. Or, it could be, this is not reality. |bits on my system). "Lazy" is one of many ways the community describe \ |"non-greedy" quantifiers (among "abstemious", "non-greedy", etc.) I see. Understandable. |If I didn't explain clearly, please do ask me for clarification. | |Finally, I think it's not desireble that we make a standard based on \ |one liberally licensed implementation and let other implementations \ |copy their code. In my opinion, there should be multiple *independent* \ |implementations. Look at the browsers market, the only 3 major implement\ |ations are Chrome/Edge, FireFox, Safari, and 1 of them is platform \ |dependent. There are several out there including tre (BSD 2-clause license; REG_UNGREEDY) and pcre(2) (BSD 3-clause i think; PCRE2_UNGREEDY). I no longer track more regex libraries, except that i have added the mentioned minrx (LGPGL, unfortunately; one could imagine even MINRX_REG_MINIMAL instead of _UNGREEDY for that one). --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)