Oprava opravy 2
This commit is contained in:
parent
7834fe3199
commit
062ae48b67
3 changed files with 5 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,3 +9,4 @@ build/
|
||||||
# https://dart.dev/guides/libraries/private-files#pubspeclock.
|
# https://dart.dev/guides/libraries/private-files#pubspeclock.
|
||||||
pubspec.lock
|
pubspec.lock
|
||||||
.env*
|
.env*
|
||||||
|
*.test.dart
|
|
@ -303,9 +303,9 @@ class Canteen {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// jinak nastavíme URL pro burzu
|
// jinak nastavíme URL pro burzu
|
||||||
var match =
|
var match = RegExp(
|
||||||
RegExp(r"(?<=ajaxOrder\(this, ')(.+?)(?=').+?(do burzy)|(z burzy)")
|
r"(?<=ajaxOrder\(this, ')(.+?)(?=').+?((do burzy)|(z burzy))")
|
||||||
.firstMatch(o);
|
.firstMatch(o);
|
||||||
if (match != null) {
|
if (match != null) {
|
||||||
burzaUrl = match.group(1)!.replaceAll("amp;", "");
|
burzaUrl = match.group(1)!.replaceAll("amp;", "");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: canteenlib
|
name: canteenlib
|
||||||
description: Library for communication with the czech canteen food ordering system iCanteen
|
description: Library for communication with the czech canteen food ordering system iCanteen
|
||||||
version: 0.1.0-alpha.11
|
version: 0.1.0-alpha.12
|
||||||
repository: 'https://github.com/hernikplays/canteenlib'
|
repository: 'https://github.com/hernikplays/canteenlib'
|
||||||
issue_tracker: 'https://github.com/hernikplays/canteenlib/issues'
|
issue_tracker: 'https://github.com/hernikplays/canteenlib/issues'
|
||||||
documentation: 'https://docs.hernikplays.cz'
|
documentation: 'https://docs.hernikplays.cz'
|
||||||
|
|
Reference in a new issue