commit | 0645b70aeae7334bba1d301f2baf1f71e822c3af | [log] [tgz] |
---|---|---|
author | Carlo Lobrano <carlo.lobrano@telit.com> | Mon Apr 11 15:52:25 2022 |
committer | Carlo Lobrano <carlo.lobrano@telit.com> | Tue Apr 12 06:46:29 2022 |
tree | 87d104dcf8d96c026c27b071385a586ba1f2dc2c | |
parent | 818b539d651eadb9ceb9faf81cec442bdbac74a3 [diff] |
plugins,telit: SWPKGV parsing needs more permissive regex In some cases the "base" software package string does not have the currently expected format of \d{2}.\d{2}.\d{3}. Specifically the last triplet of characters might not be digits. For example a valid version string might be 25.20.-04, which the current regex is unable to parse. This change replace the previous regex with one less restrictive, checking only the first part of the version's format.