What is mean by the dir regular expression for directory names?

Asked By 50 points N/A Posted on -
qa-featured

Hi I am a university student and today my lecturer gave me a topic to do a research under the topic of “dir regular expression”. I am really confused and need details about this. So if anybody has knowledge about this, help me Thanks

SHARE
Best Answer by Gazelle Eliza
Best Answer
Best Answer
Answered By 0 points N/A #137560

What is mean by the dir regular expression for directory names?

qa-featured

Dir (Directory) Regular Expression or (Regex) is a type of search and match algorithm that programmers used to match in this case a string into and existing directory or file, for example if you want to find “Windows File Name” somewhere in you program you will have this kind of expression “(?i)^(?!^(PRN|AUX|CLOCK$|NUL|CON|COMd|LPTd|..*)(..+)?$)[^\./:*?"<>|][^\/:*?"<>|]{0,254}$” the resulting output limits the result to windows file types only. 

Answered By 0 points N/A #137561

What is mean by the dir regular expression for directory names?

qa-featured

Directory regular expression or Regex is simply regular expressions for naming directories. There are specific rules and restrictions associated with it,especially with different platforms and programming languages. It is used as a constructor class in Microsoft programming languages such as C#, C++, F#, and Visual Basic. I can provide a documentation on this with the link below:

https://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex.aspx

Related Questions