Please excuse my by now well-documented density, but I want to simultaneously match several file types in a "PDir" command. I have tried (using what is, as far as I can tell, POSIX "Extended Regular Expressions" syntax):
And this, put simply, doesn't work at all:
So, several questions:
Does "PDir" even support regular expressions? (The docs say "extended wildcards", but not "regular expressions.)
Does TCC even support POSIX "Extended Regular Expression Syntax" at all?
Why is the directory name included in the error message? (I have a guess, but it's only a guess)...
And most importantly, using any of the the supported regular-expression syntaxes (I'm not fussy), how do I express what I am (obviously, I hope) trying to express?
And, as I side question that came up in attempting to do the above, what is the exact syntax of the option command to set the regular syntax to POSIX? "Option regularexpressionsyntax" doesn't do it ("Unknown option name"). (Rex, it would be nice if all of the option names were documented somewhere. If it is, either in the local or online help file, I can't find it...)
Code:
PDir /A-D /(...fields that I am interested in...) "::.\\\.this$|.\\\.that$|.\\\\.andanother$|.\\\\.ext$"
Code:
TCC: (Sys) The system cannot find the file specified.
"Z:\The Current Directory\::.\\\.this$|.\\\.that$|.\\\\andanother$|.\\\ext"
So, several questions:
Does "PDir" even support regular expressions? (The docs say "extended wildcards", but not "regular expressions.)
Does TCC even support POSIX "Extended Regular Expression Syntax" at all?
Why is the directory name included in the error message? (I have a guess, but it's only a guess)...
And most importantly, using any of the the supported regular-expression syntaxes (I'm not fussy), how do I express what I am (obviously, I hope) trying to express?
And, as I side question that came up in attempting to do the above, what is the exact syntax of the option command to set the regular syntax to POSIX? "Option regularexpressionsyntax" doesn't do it ("Unknown option name"). (Rex, it would be nice if all of the option names were documented somewhere. If it is, either in the local or online help file, I can't find it...)