@mcliquid sorry it took my so long, I got hung up on unrelated things.
Unfortunately, most of your regexes didn’t work - I didn’t look into why yet:
==== Tettnang
@route_id~^18
- No routes match the filter criteria
@@route_id~^18
-
==== Leutkirch
@route_id~^bod-6-00
- No routes match the filter criteria
@@route_id~^bod-6-00
-
==== Bad Waldsee
@route_id~^bod-8-00
- No routes match the filter criteria
@@route_id~^bod-8-00
-
==== Lindau
@operator=Stadtwerke Lindau
- No routes match the filter criteria
@@operator=Stadtwerke Lindau
-
==== Regionalverkehr Bodenseekreis / Landkreis Ravensburg
@operator=Bühler
40;bus;Wilhelmsdorf - Riedhausen - Hoßkirch - Ostrach;;;Bühler;DE-BW-bodo;bod-2-040-1
41;bus;Wilhelmsdorf - Deggenhausertal;;;Bühler;DE-BW-bodo;bod-2-041-1
44;bus;Wilh.Pfrungen - Zußdorf - Esenhausen - Wilhelmsdorf;;;Bühler;DE-BW-bodo;bod-2-044-1
240;bus;Wilhelmsdorf - Altshausen;;;Bühler;DE-BW-bodo;bod-2-240-1
@@operator=Bühler
-
==== Ortsbus Immenstaad
@operator~Immenstaad
@ref~^7\d\d\d\D*$
- No routes match the filter criteria
@@operator~Immenstaad ref~^7\d\d\d\D*$
-
==== Meersburg
@comment=Ortsbus Meersburg
- No routes match the filter criteria
@@comment=Ortsbus Meersburg
-
==== Kressbronn
@comment=Bürgerbus Kressbronn
- No routes match the filter criteria
@@comment=Bürgerbus Kressbronn
-
==== Aulendorf
@comment=Bürgerbus Aulendorf
- No routes match the filter criteria
@@comment=Bürgerbus Aulendorf
-
==== Ravensburg/Weingarten
@operator~(Regionalverkehr Alb-Bodensee GmbH (RAB)|Omnibus Grabherr|Hagmann|Omnibus Müller)
@route_id~^(rab-14|4|bod-5|bod-8)$
- No routes match the filter criteria
@@operator~(Regionalverkehr Alb-Bodensee GmbH (RAB)|Omnibus Grabherr|Hagmann|Omnibus Müller) route_id~^(rab-14|4|bod-5|bod-8)$
-
I’ll edit this reply in a bit (hopefully) with more detail
Edit:
So, first off:
==== Tettnang
@route_id~^18
- No routes match the filter criteria
@@route_id~^18
-
The regex ^18
means starts with 18. It seems that route_id always starts with 3 letters like bod-
or rab-
, so nothing starts with 18. I’m not super sure what you meant here so no suggestion here. If you want all route_ids that contain 18, that’s just: @route_id~18
(but I don’t think that’s what you meant).
Next:
==== Leutkirch
@route_id~^bod-6-00
- No routes match the filter criteria
@@route_id~^bod-6-00
-
Perhaps you meant all routes that start with bod-6-
, which would look like this:
==== Leutkirch
@route_id~^bod-6-
133;bus;Stadtverkehr Leutkirch;;;Hutter Reisen;DE-BW-bodo;bod-6-133-1
134;bus;Leutkirch - Seibranz - Hauerz;;;Hutter Reisen;DE-BW-bodo;bod-6-134-1
135;bus;Leutkirch - Wuchzenhofen - Ausnang - Leutkirch;;;Hutter Reisen;DE-BW-bodo;bod-6-135-1
7569;bus;Leutkirch - Aichstetten - Aitrach;;;Hutter Reisen;DE-BW-bodo;bod-6-569-1
@@route_id~^bod-6-
-
Same goes for ^bod-8-00
:
==== Bad Waldsee
@route_id~^bod-8-
30/1;bus;Bad Waldsee - Reute - Gaisbeuren - Kümmerazhofen;;;Omnibus Müller;DE-BW-bodo;bod-8-301-1
R30;bus;Bad Waldsee - Baienfurt - Weingarten - Ravensburg;;;Omnibus Müller;DE-BW-bodo;bod-8-R30-1
31;bus;Ravensburg - Weingarten - Bergatreute - Alttann - Wolfegg;;;Omnibus Müller;DE-BW-bodo;bod-8-031-1
32;bus;Roßberg - Gwigg - Bergatreute - Bad Waldsee;;;Omnibus Müller;DE-BW-bodo;bod-8-032-1
33/5;bus;Untermöllenbronn - Kümmerazhofen - Bad Waldsee Marktlinie;;;Omnibus Müller;DE-BW-bodo;bod-8-335-1
33/7;bus;Eschle - Bahnhof - Steinach - Eugen-Bolz-Schule Stadtrandlinie Bad Waldsee;;;Omnibus Müller;DE-BW-bodo;bod-8-337-1
33/8;bus;Bad Waldsee - Michelwinnaden - Bad Waldsee;;;Omnibus Müller;DE-BW-bodo;bod-8-338-1
34;bus;Ehrensberg - Molpertshaus - Mennisweiler - Bad Waldsee;;;Omnibus Müller;DE-BW-bodo;bod-8-034-1
@@route_id~^bod-8-
-
Next:
==== Lindau
@operator=Stadtwerke Lindau
- No routes match the filter criteria
@@operator=Stadtwerke Lindau
-
As I said, I can’t read German, but looking at the operator names that exist in the data, I’m guessing you meant one of these:
==== Lindau
@operator=Stadtverkehr Lindau
1;bus;Oberhochsteg - Anheggerstr (ZUP) Stadtbus Lindau;;;Stadtverkehr Lindau;DE-BW-bodo;bod-31-001-1
2;bus;Inselbahnhof - Anheggerstr. (ZUP) - Oberreitnau Stadtbus Lindau;;;Stadtverkehr Lindau;DE-BW-bodo;bod-31-002-1
3;bus;Gewerbegebiet - Anheggerstr. (ZUP) - Unterreitnau Stadtbus Lindau;;;Stadtverkehr Lindau;DE-BW-bodo;bod-31-003-1
4;bus;Rehlings/Weißensberg - Anheggerstr. (ZUP) - Alwind Stadtbus Lindau;;;Stadtverkehr Lindau;DE-BW-bodo;bod-31-004-1
5;bus;Inselbahnhof - Anheggerstr. (ZUP) - Grenzsiedlung/Zech Stadtbus Lindau;;;Stadtverkehr Lindau;DE-BW-bodo;bod-31-005-1
@@operator=Stadtverkehr Lindau
- or:
@operator=Stadtwerke Konstanz
Fähre;ferry;Fähre Meersburg - Konstanz-Staad;;;Stadtwerke Konstanz;DE-BW-bodo;nvb-4-0KN-1
@@operator=Stadtwerke Konstanz
-
Actually, judging from the title, definitely the first one.
Next one actually worked! 
==== Regionalverkehr Bodenseekreis / Landkreis Ravensburg
@operator=Bühler
40;bus;Wilhelmsdorf - Riedhausen - Hoßkirch - Ostrach;;;Bühler;DE-BW-bodo;bod-2-040-1
41;bus;Wilhelmsdorf - Deggenhausertal;;;Bühler;DE-BW-bodo;bod-2-041-1
44;bus;Wilh.Pfrungen - Zußdorf - Esenhausen - Wilhelmsdorf;;;Bühler;DE-BW-bodo;bod-2-044-1
240;bus;Wilhelmsdorf - Altshausen;;;Bühler;DE-BW-bodo;bod-2-240-1
@@operator=Bühler
-
Next:
==== Ortsbus Immenstaad
@operator~Immenstaad
@ref~^7\d\d\d\D*$
- No routes match the filter criteria
@@operator~Immenstaad ref~^7\d\d\d\D*$
-
Seems like there’s no operator by that name. If I split to two separate filters I get:
==== Ortsbus Immenstaad
@operator~Immenstaad
- No routes match the filter criteria
@@operator~Immenstaad
@ref~^7\d\d\d\D*$
7376;bus;Schülerverkehr Pfullendorf - Großschönach Herdwangen Üb-Rengoldshausen;;;BW;DE-BW-bodo;rab-14-376-1
7377;bus;Stockach Ludwigshafen Winterspüren Bonndorf - Hödingen - Aufkirch - Überlingen;;;BW;DE-BW-bodo;rab-14-377-1
7379;bus;LinzgauBus Heiligenberg - Frickingen - Owingen - Überlingen;;;BW;DE-BW-bodo;rab-14-379-1
7380;bus;Pfullendorf Hattenweiler Illmensee Heiligenberg;;;BW;DE-BW-bodo;rab-14-380-1
7381;bus;Wilhelmsdorf - Deggenhausertal - Salem - Überlingen;;;BW;DE-BW-bodo;rab-14-381-1
7382;bus;Ahausen - Bermatingen - Markdorf (Schülerverkehr);;;BW;DE-BW-bodo;rab-14-189-1
7382;bus;Meersburg Daisendorf Riedetsweiler Baitenhs. - Ahausen - Bermatingen - Markdorf;;;BW;DE-BW-bodo;rab-14-382-1
7383;bus;MuseumsBus Meersburg - Daisendorf - Unteruhldingen;;;BW;DE-BW-bodo;rab-14-383-1
7384;bus;Deggenhausertal - Markdorf - Immenstaad;;;BW;DE-BW-bodo;rab-14-384-1
7385;bus;Wilhelmsdorf - Deggenhausertal;;;BW;DE-BW-bodo;rab-14-385-1
7386;bus;Hödingen Schloss Spetzgart Aufkirch Salem College Härlen - Überlingen;;;BW;DE-BW-bodo;rab-14-386-1
7389;bus;Stockach - Ludwigshafen - Überlingen;;;BW;DE-BW-bodo;rab-14-389-1
7392;bus;Überlingen-Owingen Pfullendorf Mahlspüren i. T.- Stockach;;;BW;DE-BW-bodo;rab-14-392-1
7394;bus;StädteSchnellbus (Spieleland -) Airport - Friedrichshafen - Meersburg - Konstanz;;;BW;DE-BW-bodo;rab-14-394-1
7395;bus;SeeLinie (Bodman -) Überlingen - Meersburg - Friedrichshafen;;;BW;DE-BW-bodo;rab-14-395-1
7396;bus;Frickingen - Salem - Markdorf - Immenstaad;;;BW;DE-BW-bodo;rab-14-396-1
7397;bus;LinzgauBus Heiligenberg - Salem - Oberuhldingen (- Überlingen);;;BW;DE-BW-bodo;rab-14-397-1
7534;bus;Bad Wurzach -Wolfegg - Weingarten - Ravensburg;;;BW;DE-BW-bodo;rab-14-534-1
7535;bus;Wangen Wolfegg - Vogt - Waldburg - Schlier - Ravensburg;;;BW;DE-BW-bodo;rab-14-535-1
7537;bus;Meersburg - Markdorf - Oberteuringen - Ravensburg;;;BW;DE-BW-bodo;rab-14-537-1
7539;bus;7539 Esenhausen - Horgenzell - Ravensburg;;;BW;DE-BW-bodo;rab-14-539-1
7543;bus;Vogt Grund - Wolfegg - Kißlegg;;;BW;DE-BW-bodo;rab-14-543-1
7544;bus;Wangen - Allewinden - Kißlegg;;;BW;DE-BW-bodo;rab-14-544-1
7546;bus;Hiltensweiler - Unterlangnau - Laimnau - Tettnang;;;BW;DE-BW-bodo;rab-14-546-1
7547;bus;Wangen i.A. - Neukirch - Tettnang - Friedrichshafen;;;BW;DE-BW-bodo;rab-14-547-1
7549;bus;Bad Wurzach - Arnach - Kißlegg;;;Ehrmann Reisen GmbH & Co. KG;DE-BW-bodo;bod-3-549-1
7550;bus;Wangen (Allgäu) - Waltershofen - Kißlegg - Leutkirch;;;BW;DE-BW-bodo;rab-14-550-1
7551;bus;Isny - Leutkirch i. A.;;;BW;DE-BW-bodo;rab-14-551-1
7552;bus;Aichstetten - Aitrach - Bad Wurzach;;;BW;DE-BW-bodo;rab-14-552-1
7554;bus;Bad Waldsee - Aulendorf;;;BW;DE-BW-bodo;rab-14-554-1
7567;bus;Pfullendorf Aulendorf Bad Saulgau;;;BW;DE-BW-bodo;rab-14-567-1
7570;bus;(Herbertingen -) Bad Saulgau - Aulendorf;;;BW;DE-BW-bodo;rab-14-570-1
7571;bus;Leutkirch - Herlazhofen - Gebrazhofen - Leutkirch;;;BW;DE-BW-bodo;rab-14-571-1
7572;bus;Leutkich - Argenbühl/Eglofstal;;;BW;DE-BW-bodo;rab-14-572-1
7587;bus;(Lindau - Wasserburg -) Kressbronn - Friedrichshafen;;;BW;DE-BW-bodo;rab-14-587-1
@@ref~^7\d\d\d\D*$
-
So could you have meant the operator BW? (Does “BW” mean anything to you?)
The next three, you tried to filter by comment
i.e. the route’s full name. If you meant that the name should contain these words, you should use ~
instead of =
, which I tried and it only found one route:
==== Meersburg
@comment~Ortsbus Meersburg
1;bus;Ortsbus Meersburg BSB-Hafen-Töbele-Parkplatz Allmend-Daisendorf;;;BW;DE-BW-bodo;rab-14-810-1
@@comment~Ortsbus Meersburg
-
==== Kressbronn
@comment~Bürgerbus Kressbronn
- No routes match the filter criteria
@@comment~Bürgerbus Kressbronn
-
==== Aulendorf
@comment~Bürgerbus Aulendorf
- No routes match the filter criteria
@@comment~Bürgerbus Aulendorf
-
Last one:
==== Ravensburg/Weingarten
@operator~(Regionalverkehr Alb-Bodensee GmbH (RAB)|Omnibus Grabherr|Hagmann|Omnibus Müller)
@route_id~^(rab-14|4|bod-5|bod-8)$
- No routes match the filter criteria
@@operator~(Regionalverkehr Alb-Bodensee GmbH (RAB)|Omnibus Grabherr|Hagmann|Omnibus Müller) route_id~^(rab-14|4|bod-5|bod-8)$
-
Part of the reason this failed is that you ended the regex with $
meaning that has to be the end of the route_id. If you want the route_id to continue, drop the final $
:
==== Ravensburg/Weingarten
@operator~(Regionalverkehr Alb-Bodensee GmbH \(RAB\)|Omnibus Grabherr|Hagmann|Omnibus Müller)
@route_id~^(rab-14|4|bod-5|bod-8)
20;bus;(Vorsee -) Wolpertswende - Weingarten - Ravensburg;;;Hagmann;DE-BW-bodo;bod-5-020-1
21;bus;Bodnegg - Grünkraut - Knollengraben - Ravensburg stadtbus Ravensburg Weingarten;;;Hagmann;DE-BW-bodo;bod-5-021-1
@@operator~(Regionalverkehr Alb-Bodensee GmbH \(RAB\)|Omnibus Grabherr|Hagmann|Omnibus Müller) route_id~^(rab-14|4|bod-5|bod-8)
-
There are a few more issues with this, but they’re things I already mentioned: no route_id starts with 4
, the operator name for RAB seems to be just BW
, and routes with route_id~^rab-14
were already added in a previous filter so can’t be added again.
Hope that points you in the right direction 
@ToniE to make tweaking filters more reasonable, would you be able to run the CSV injection code instantly when someone requests a new analysis, instead of just waiting for the analysis to start in the next 15-minute interval? An instant update in the wiki will go a long way to making tweaking filters more friendly.
This means the CSV injection code (+ wiki upload if diff) should run in all these scenarios: 1. GTFS post-analysis, after routes.json is created; 2. Instantly when a user requests a new analysis; 3. At the start of each analysis (for e.g. when users updated filters and didn’t manually request a new analysis).