On Wed, 31 Aug 2022 11:13:57 -0500, Paul Gilmartin <paulgboul...@aol.com> wrote:
>>In any case, "[^abc]" does not match "wombat". It matches only a single >>character of a string. So, it might match the "w" in "wombat", or the "o", or >>the "m", or the "t", depending on other details of the input string being >>processed, and the application doing the processing. >> >Absent an anchor ("^" and/or "$") a pattern can be matched anywhere in a >subject. Good point. Thanks. > >>I agree with your comment (which I omitted from my quote) that the DFSORT >>books should not try to explain reg-ex processing, unless they have written >>their own processor instead of reusing someone else's. >> >+1 >But it might be proper to emphasize any difference between DFSORT's use of >reg-ex and traditional beliefs. But, whose "tradition"? PERL, PCRE, Python, Boost, ... Does the DFSORT documentation name a standard that they've implemented? -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN