Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

COBOL Programming :: RE: Wildcard logic in COBOL

$
0
0
Author: dudenithy
Subject: Re: Reply to: Wildcard logic in COBOL
Posted: Tue Sep 06, 2016 9:21 pm (GMT 5.5)

enrico-sorichetti wrote:
If ...
* stands for 0 or more chars
? stands for one char

a combination ?* is legal ... it requests for at last one char

anyway unless You want to be pedantic
if the pattern analysis is done properly
any mix of * and ? should work...

Yes, the rule is absolutely right and the Standard one.
Regarding combination ?*, my logic still works. combination *? will not work. My above mentioned restriction rule must be corrected. Thanks.


Viewing all articles
Browse latest Browse all 9405

Trending Articles