Hello...
My EasyList for Delphi and Freepascal was updated to version 1.43
I have just added a TWildCard class so that to work with wildcards,
please take a look at the filespec.pas file inside the zip file so that
to understand how it works, and here is how you can work with wildcards:
---
var wildcard:TWildCard;
str:string;
begin
str:='Amine.jpg';
wildcard:=TWildCard.create;
if wildcard.samefile('A*?g',str1,true) then writeln('Ok!');
end;
--
When third parameter of samefile() method of TWildCard class is true, samefile() will be case-sensitive.
You can learn how to use Standard Wildcards from here:
https://tldp.org/LDP/GNU-Linux-Tools-Summary/html/x11655.htm
You can download my EasyList for Delphi and Freepascal version 1.43 from
my website here:
https://sites.google.com/site/scalable68/easylist-for-delphi-and-freepascal
Thank you,
Amine Moulay Ramdane.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)