etherlab/ConfigEditor.py
changeset 2439 f0a040f1de1b
parent 2437 105c20fdeb19
child 2450 5024c19ca8f0
--- a/etherlab/ConfigEditor.py	Tue Oct 09 11:43:39 2018 +0300
+++ b/etherlab/ConfigEditor.py	Tue Oct 09 11:56:45 2018 +0300
@@ -72,7 +72,7 @@
 
 ETHERCAT_INDEX_MODEL = re.compile("#x([0-9a-fA-F]{0,4})$")
 ETHERCAT_SUBINDEX_MODEL = re.compile("#x([0-9a-fA-F]{0,2})$")
-LOCATION_MODEL = re.compile("(?:%[IQM](?:[XBWLD]?([0-9]+(?:\.[0-9]+)*)))$")
+LOCATION_MODEL = re.compile(r"(?:%[IQM](?:[XBWLD]?([0-9]+(?:\.[0-9]+)*)))$")
 
 
 class NodeVariablesSizer(wx.FlexGridSizer):