From: René J. <rvj...@xs...> - 2020-06-28 20:26:06
|
Hi Jeff, I think that is very interesting and very befitting to the platform. I’ll give it a spin as soon as I can. best regards, René. > On 28 Jun 2020, at 21:02, Jeff Hennick <Je...@Je...> wrote: > > I am proposing a new stage that draws on NetRexx's Java heritage: REGEX (alternative name: GREP). It is a simple filter stage like LOCATE, but uses regular expressions. This gives it a much richer (as well as less comprehensible) set of selectors. > > I have submitted it to origin master for 3.09, but, René, if you object to mixing in regular expressions, I'd withdraw it. > > All, comments and suggestions are very much welcomed. > > /** regex > > >>--REGEX--+--------------------------+--regex_string-(1)--->< > +-(--| options_string |--)-+ > > options_string: > |--+---------+--| > +-NUMBERS-+ (2) > > > Records matching the RegEx are put out on primary output > Records not matching are put out on secondary, if connected, or discarded. > > (1) string is a Java RegEx expresion. null string passes all records. > (2) lines are prefaced with line number, 10 characters, right justified > > [Possible future options: BEFORE and AFTER, etc., to give context, ala GREP.] > > */ > > /* > 20/ 6/28 Jeff Hennick > */ > > Jeff > > _______________________________________________ > netrexx-pipelines mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |