Hello,
During a meeting, we were questioned about REXX's ability for pattern recognition. The straightforward question is, does REXX contain pattern recognition, that is powerful enough to compare two patterns against each other (which would be able to determine if one pattern is a SUBSET of the other)?
So given a str1, which wants to match on strings starting with an A and ending with a B: A*B (i suppose)
And given a str2, which wants to match on any string starting with A: A* (i suppose)
Can REXX inform me that filter str1 is a subset of filter str2? (both str1 and str2 are used to as pattern filters).
Any help appreciated. As you can see i am not a big REXX programmer, but was told that REXX may have this capability.
Thanks!
Luis
During a meeting, we were questioned about REXX's ability for pattern recognition. The straightforward question is, does REXX contain pattern recognition, that is powerful enough to compare two patterns against each other (which would be able to determine if one pattern is a SUBSET of the other)?
So given a str1, which wants to match on strings starting with an A and ending with a B: A*B (i suppose)
And given a str2, which wants to match on any string starting with A: A* (i suppose)
Can REXX inform me that filter str1 is a subset of filter str2? (both str1 and str2 are used to as pattern filters).
Any help appreciated. As you can see i am not a big REXX programmer, but was told that REXX may have this capability.
Thanks!
Luis