Regular expressions and Extended Copy
Using regex within extended copy is a powerful tool, but it's somehow limited:
Considering the following list of rooms names in a specific line:
1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112
I want the room names in the new line to be 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 (adding 12 units at each room name), so I use regex (?<=11)(\d{2}) and replacement (?{$1+12}).
Unfortunately, it doesn't work and returns 11(?{01+12}), 11(?{02+12}), 11(?{03+12}), ... , 11(?{11+12}), 11(?{12+12})
According to the KNXA Support, regular expressions only work on textual input, so only on strings and thus not on numbers.
I think this new feature can save a lot of time when creating very big projects, especially hotels.
8
Comments
0 comments
Please sign in to leave a comment.