You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python
Python 2.7.16 (default, Mar 22 2019, 15:22:50)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> version = "10.14"
>>> re.match(r'(\d+\.\d+\.?\d*)', version).groups()[0]
'10.14'
Can you give us some error output for a problem you're experiencing with this code? The \d+ should match both 10 and 14 just fine.
Activity
rvagg commentedon Aug 2, 2019
I don't think that's your problem @tibbers622:
Can you give us some error output for a problem you're experiencing with this code? The
\d+should match both10and14just fine.cclauss commentedon Aug 2, 2019
Fascinating because GYP3's code incorrectly returns 10.1
https://github.com/refack/GYP3/blob/master/gyp/xcode_emulation.py#L1407
cclauss commentedon Sep 30, 2019
I believe that #1890 fixed this. Please reverify.
cclauss commentedon Oct 2, 2019
@tibbers622 Should this issue be closed?
cclauss commentedon Oct 24, 2019
Closing in favor of #1927. @tibbers622 If this has not been resolved, please jump in on #1927.