Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regex based grouping logic #1654

Open
mwestphal opened this issue Oct 6, 2024 · 0 comments
Open

Add regex based grouping logic #1654

mwestphal opened this issue Oct 6, 2024 · 0 comments
Labels
Milestone

Comments

@mwestphal
Copy link
Contributor

Is your feature request related to a problem? Please describe.
With the addition of a grouping logic (--multi-file-mode) in #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)

@mwestphal mwestphal added this to F3D Oct 6, 2024
@mwestphal mwestphal moved this to Investigate in F3D Oct 6, 2024
@mwestphal mwestphal moved this from Investigate to Discuss in F3D Oct 6, 2024
@mwestphal mwestphal added this to the 3.1.0 milestone Oct 6, 2024
@mwestphal mwestphal mentioned this issue Oct 6, 2024
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Discuss
Development

No branches or pull requests

1 participant