From 14e03bd4b598fac0906d7070192b80a01e9b9e62 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Sun, 8 Aug 2021 19:26:32 +0100 Subject: [PATCH] Issue #18 Allow lower case text in FP altitude field --- src/blackmisc/aviation/altitude.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blackmisc/aviation/altitude.cpp b/src/blackmisc/aviation/altitude.cpp index 6e730fd62..adbd5877c 100644 --- a/src/blackmisc/aviation/altitude.cpp +++ b/src/blackmisc/aviation/altitude.cpp @@ -385,7 +385,7 @@ namespace BlackMisc const QRegularExpression &CAltitude::fpAltitudeRegExp() { - thread_local const QRegularExpression re("((FL|F)\\d{2,3})|(S\\d{2,4})|(A\\d{2,3})|(M\\d{2,4})|(\\d{3,5}(ft|m))"); + thread_local const QRegularExpression re("([Ff][Ll]?\\d{2,3})|([Ss]\\d{2,4})|([Aa]\\d{2,3})|([Mm]\\d{2,4})|(\\d{3,5}(ft|m))"); return re; }