B4J Question File.ListFilesFilter ??

Firpas

Active Member
Licensed User
Longtime User
How to apply a mask filter (like "My*.tx?", or "*.txt", or any other one) to a File.Listfiles ??

Perhaps applying Regex.IsMatch, but ... how? taking into account the many possible combinations of "*" and "?"

Thanks in advance
 

Firpas

Active Member
Licensed User
Longtime User
Thanks for your quick answer.
I think I have not explained well in my previous post.
What I want is to convert to a regex wildcard expression
 
Upvote 0

Firpas

Active Member
Licensed User
Longtime User
I think it's solved.

I've attached a example project.

Thanks for your colaboration.

;)
 

Attachments

  • FileMatcher.zip
    2.4 KB · Views: 180
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top