fix: získávat všechny alergeny (#6)

This commit is contained in:
Matyáš Caras 2023-04-07 18:15:13 +02:00
parent 15d5b02073
commit 2e8fb36f26

View file

@ -303,7 +303,7 @@ class Canteen {
.replaceAll(" <br>", "")
.replaceAll("\n", "");
var alergeny =
RegExp(r"""<span title=".+?" class="textGrey">([a-zA-Z]*)<\/span>""")
RegExp(r"""<span title=".+?" class="textGrey">(.+?)<\/span>""")
.allMatches(jidlaProDen)
.toList();
var vydejna = RegExp(