Add regex based grouping logic
Is your feature request related to a problem? Please describe.
With the addition of a grouping logic (--multi-file-mode) in https://github.com/f3d-app/f3d/pull/1609, it would be nice to have more grouping logic possibilities.
Describe the solution you'd like
We currently support all and single, but a new regex mode could be added, associated with another option, --multi-file-regex.
Here is how it could work:
Regex: (.*.obj)|(.*.gltf)
Files:
file1.gltf
file2.gltf
file.obj
file2.obj
Results: Two group of files: Group1:
file1.gltf
file2.gltf
Group2:
file.obj
file2.obj
The command line would look like this:
./bin/f3d file1.gltf file2.gltf file.obj file2.obj --multi-file-mode=regex --multi-file-regex=(.*.obj)|(.*.gltf)
May I please be assigned to this? @mwestphal
Sure!
Hi @yankadeshkovski , how is it going ? Need any help ? :)
Sorry, haven't been able to put in a lot of time yet. I had a busy week. Might be able get some work done today.
No worries :)
Hi @yankadeshkovski
Do you need any help moving forward ?
Removing assignee as asked by @yankadeshkovski