×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Since the hyphen (identified in the conversion tables as 'subtraction
sign') is ASCII x'2d' but EBCDIC x'60' it will be found within the range
x'00' to x'3f' if, as I suspect, the string passed into the regex processor
(wherever that may be) is evaluated as ASCII instead of EBCDIC.
btw, I like the simple VALUES EXPRESSION format you use for your tests.
Don't know why I didn't think of that and waste my time building common
tables.
Another test clinches it:
values regexp_instr('grave`concern_', '[\x5f-\x60]') -- Result 6
... take the grave out and replace with a space
values regexp_instr('grave concern_', '[\x5f-\x60]') -- Result 14
The grave symbol is ASCII x'60' and underscore x'5f'
The EBCDIC equivalents are x'79' and x'6d' so we shouldn't have found
either.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.