diff options
author | Carlo Lobrano <carlo.lobrano@telit.com> | 2022-04-11 17:52:25 +0200 |
---|---|---|
committer | Carlo Lobrano <carlo.lobrano@telit.com> | 2022-04-12 08:46:29 +0200 |
commit | 0645b70aeae7334bba1d301f2baf1f71e822c3af (patch) | |
tree | 87d104dcf8d96c026c27b071385a586ba1f2dc2c /src/mm-error-helpers.h | |
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.
Diffstat (limited to 'src/mm-error-helpers.h')
0 files changed, 0 insertions, 0 deletions