mirror of https://github.com/ARMmbed/mbed-os.git
Escape '.' in regex
parent
1a9474e4d9
commit
59e8631d3a
|
@ -41,7 +41,7 @@ class ARM(mbedToolchain):
|
|||
SUPPORTED_CORES = ["Cortex-M0", "Cortex-M0+", "Cortex-M3", "Cortex-M4",
|
||||
"Cortex-M4F", "Cortex-M7", "Cortex-M7F", "Cortex-M7FD", "Cortex-A9"]
|
||||
ARMCC_RANGE = (LooseVersion("5.06"), LooseVersion("5.07"))
|
||||
ARMCC_VERSION_RE = re.compile("Product: ARM Compiler (\d+.\d+)")
|
||||
ARMCC_VERSION_RE = re.compile("Product: ARM Compiler (\d+\.\d+)")
|
||||
|
||||
@staticmethod
|
||||
def check_executable():
|
||||
|
|
|
@ -30,7 +30,7 @@ class IAR(mbedToolchain):
|
|||
|
||||
DIAGNOSTIC_PATTERN = re.compile('"(?P<file>[^"]+)",(?P<line>[\d]+)\s+(?P<severity>Warning|Error|Fatal error)(?P<message>.+)')
|
||||
INDEX_PATTERN = re.compile('(?P<col>\s*)\^')
|
||||
IAR_VERSION_RE = re.compile("IAR ANSI C/C\+\+ Compiler V([0-9]+.[0-9]+)")
|
||||
IAR_VERSION_RE = re.compile("IAR ANSI C/C\+\+ Compiler V(\d+\.\d+)")
|
||||
IAR_VERSION = LooseVersion("7.80")
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue