Jump to content

Excluding dot with StringRegExp


 Share

Recommended Posts

Wow, I hadn't realized how much I needed to test that function and the DOS Dir command to see that there was definite differences between the returns my function was giving and the returns 'Dir' was giving. I think *now* I have perfected the function to return a perfect one-to-one match for DOS's Dir command. If anyone sees something wrong, let me know!

*EDIT: _DOSWildcardsToRegExp has been renamed to _DOSWildcardsToPCRegEx, updated, and enhanced with an interactive GUI interface (as a separate file). The new resting place for it is HERE

Ascend4nt

Edited by ascendant
Link to comment
Share on other sites

  • 5 months later...
  • Replies 41
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

; ===================================================================================================
; Func _DOSWildcardsToRegExp($sWildCards="*.*",$bForceDOSDotMimic=True)
Perfect :), was really in need of this one...Many thanks to ascendant and RobSaunders.

Cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...