About Question enthuware.ocpjp.v7.2.1628 :
Posted: Fri Jul 17, 2015 6:34 pm
Question: Why does this glob pattern
glob:?{pdf, rtf}
match only those file names that have exactly four characters ?
_________________________
I understand that ? matches exactly one character in a glob pattern.
Explanation says:
?{pdf,rtf} will match only those file names that have exactly four characters and
the last three characters have to be pdf or rtf.
Question: Is this simple addition as in
[ (? = 1 ) + (rtf = 3 )] = 4
Please confirm.
glob:?{pdf, rtf}
match only those file names that have exactly four characters ?
_________________________
I understand that ? matches exactly one character in a glob pattern.
Explanation says:
?{pdf,rtf} will match only those file names that have exactly four characters and
the last three characters have to be pdf or rtf.
Question: Is this simple addition as in
[ (? = 1 ) + (rtf = 3 )] = 4
Please confirm.