This library provides a flexible glob matching solution in C++ using the <regex> library. It supports:
[a-z], [!0-9])**)|, ()){a,b}.txt)(?i) flag is prepended to the regex to enable case-insensitive matching.*.txt matches file.txt, FILE.TXT, and File.TxT.[a-z], [A-Z], [0-9], [!0-9] (negation), and [abc] (explicit set).[a-z][0-9].txt matches a1.txt but not 1.txt.**):** is converted to .* in regex, allowing it to match any number of subdirectories.**/file.txt matches file.txt, dir/file.txt, and dir/subdir/file.txt.| and ()):@(pattern1|pattern2) for OR logic.file@(A|B).txt matches fileA.txt and fileB.txt.{a,b}.txt to match a.txt or b.txt.{a,b}.txt matches a.txt and b.txt but not ab.txt.