Imagine a project with several Programmable Logic Controllers (PLCs), including - 'PLC_1' - 'PLC_2' - 'PLC_3' - and others ...
You want to develop an AX component specifically for PLC_2. Your goal is to exclude all other PLCs from the scope of your project.
{{#PLCs}}
{{#Name.IsMatch(PLC_2)}}
This block is valid only for PLC_2.
{{/Name.IsMatch(PLC_2)}}
{{/PLCs}}
The parameter is a regular expression pattern. To learn about regular expressions, please refer to the Regular Expression Language - Quick Reference.
Note: The IsMatch function can be used with any context object that can be represented as a string, not just the Name.