mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-07 07:37:48 -04:00
Fix reg exp for lat,long string.
This commit is contained in:
parent
e564ac2f39
commit
0a3a455937
@ -273,7 +273,7 @@ public:
|
||||
{
|
||||
QRegularExpressionMatch match;
|
||||
|
||||
QString decimalPattern = "(-?[0-9]+(\\.[0-9]+)?) *,? *(-?[0-9]+(\\.[0-9]+)?)";
|
||||
QString decimalPattern = "(-?[0-9]+(\\.[0-9]+)?) *[ ,] *(-?[0-9]+(\\.[0-9]+)?)";
|
||||
if (exact) {
|
||||
decimalPattern = QRegularExpression::anchoredPattern(decimalPattern);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user