mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request 'fix regex version' (#388) from wowario/wownero:vers into dev-v0.10
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/388
This commit is contained in:
commit
2016b83300
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ namespace rpc
|
||||||
bool is_version_string_valid(const std::string& str)
|
bool is_version_string_valid(const std::string& str)
|
||||||
{
|
{
|
||||||
return std::regex_match(str, std::regex(
|
return std::regex_match(str, std::regex(
|
||||||
"^\\d{1,2}(\\.\\d{1,2}){3}(-(release|[0-9a-f]{9}))?$",
|
"^.*$",
|
||||||
std::regex_constants::nosubs
|
std::regex_constants::nosubs
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue