> >• Basic Regular expressions (BRE) > >• Extended Regular expressions (ERE) > > There seems to be no keyword differentiating these. Does that leave > any ambiguity.
Paul, The Extended Regular expressions differs in the meta characters and also support the hex character input. > Using the word "default" suggests that the programmer can choose the > case-sensitive alternative. How might one do this? By "default" DFSORT when processing regular expressions forces the search to be case-insensitive. Currently we do not support the option of overriding the case-sensitivity.The traditional DFSORT Include/OMIT processing is indeed Case sensitive. > The "NULL-terminated string" discussion seems to be an internal which > does not concern and might only confuse the programmer. However, > if the programmer is so rash as to introduce a NULL in a regex in SYSIN > using a hex editor, might there be unexpected results? NO. If the programmer is smart enough to add a null terminated string using hex mode at the end, DFSORT does not append the null terminating string. Null terminated string discussion is added , so that the programmer is aware of the limits. If Regular Expressions are used, DFSORT internally adds a NULL byte to the specified field in the INCLUDE/OMIT control statement. This reduces the maximum length that you can use for a Regular Expression by 1. So, for example if you are using Regular Expression on a fixed block file with an LRECL of 80, then the maximum length you can use for Regular Expressions is 79. (Explained in the Messages and codes manual under ICE027A) > Regular expressions are probably described at length in other z/OS > publication(s). It might be better to provide a cross reference than > to repeat the syntax description here. If the linked publication enhanced the Regular Expression support or dropped the support , it would affect DFSORT. So we chose to add the description to our publications where we have control of the contents. As is I have seen people preferring the information to be available in one place. > DFSORT Application Programming Guide > IBM [part number obscure] Not sure what you meant by obscure but I was able to copy and paste the documentation number SC23-6878-40. I tried opening the PDF in Firefox as well as the saved copy on PC. Thanks, Sri Hari Kolusu DFSORT Development IBM Corporation ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN