Does custom_categories support reg expression?
one question, it seems like custom_categories does not support reg expression? Let's say I have many classes with some prefix: some starts with Line, some starts with Bars:
BarChartView.swift, BarChartData.swift, LineChartView.swift, LineChartDataSet.swift
I want to group them into Line Type and Bar Type,
custom_categories:
name: Bar Type
children:
- Bar*
name: Line Type
children:
- Line*
It won't have any effect. Instead, I have manually list all the classes. Am I wrong?
Hi @liuxuan30. Thanks for reaching out. I don't believe custom_categories supports regular expressions but I'm going to rope in @jpsim. I'm pretty new so he may have more to say.
If not supported yet, I guess it would be a good feature to have.. typing multiple names are killing me
We'd love a PR, @liuxuan30!
I think this would make sense to add in combination with #624. Would it be ok, to include both in the same pr?
Personally I'd prefer to see this as a separate PR, should be a simple change on top of the current code.
@johnfairh Yeah I quickly tested it yesterday, theoretically it can be a one line change (if we just want to assume any item is a regex).
@galli-leo @johnfairh Is there any movement on this? Would love to get it working.