Correct regex
This commit is contained in:
parent
59666ac6fc
commit
e35d61a4f6
|
@ -152,7 +152,7 @@ proc process {} {
|
||||||
return [rmupdate::get_addon_info 1 1 1]
|
return [rmupdate::get_addon_info 1 1 1]
|
||||||
} elseif {[lindex $path 1] == "start_install_firmware"} {
|
} elseif {[lindex $path 1] == "start_install_firmware"} {
|
||||||
regexp {\"download_url\"\s*:\s*\"([^\"]*)\"} $data match download_url
|
regexp {\"download_url\"\s*:\s*\"([^\"]*)\"} $data match download_url
|
||||||
regexp {\"version\"\s*:\s*\"([\d\.\-]*)\"} $data match version
|
regexp {\"version\"\s*:\s*\"([a-f\d\.\-]*)\"} $data match version
|
||||||
regexp {\"language\"\s*:\s*\"([^\"]+)\"} $data match lang
|
regexp {\"language\"\s*:\s*\"([^\"]+)\"} $data match lang
|
||||||
regexp {\"reboot\"\s*:\s*(true|false)} $data match reboot
|
regexp {\"reboot\"\s*:\s*(true|false)} $data match reboot
|
||||||
regexp {\"dryrun\"\s*:\s*(true|false)} $data match dryrun
|
regexp {\"dryrun\"\s*:\s*(true|false)} $data match dryrun
|
||||||
|
|
Loading…
Reference in New Issue