aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-01-27 13:57:21 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-01-27 20:57:21 +0200
commit8636f31d9c6f44a19cca0622b5478fa6202c1334 (patch)
tree1820a754596d15c59cdd48da16b92a828f358428 /mesonbuild/environment.py
parent3fc8a0dc41622850dc6a50debff3f27b7c080a51 (diff)
downloadmeson-8636f31d9c6f44a19cca0622b5478fa6202c1334.zip
meson-8636f31d9c6f44a19cca0622b5478fa6202c1334.tar.gz
meson-8636f31d9c6f44a19cca0622b5478fa6202c1334.tar.bz2
BUGFIX: broken/missing Fortran code/unit tests
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index d853020..ad279be 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -321,7 +321,7 @@ def search_version(text):
# This regex is reaching magic levels. If it ever needs
# to be updated, do not complexify but convert to something
# saner instead.
- version_regex = '(?<!(\d|\.))(\d{1,2}(\.\d+)+(-[a-zA-Z0-9]+)?)'
+ version_regex = r'(?<!(\d|\.))(\d{1,2}(\.\d+)+(-[a-zA-Z0-9]+)?)'
match = re.search(version_regex, text)
if match:
return match.group(0)