Use Of Regular Expressions In Diff; General Information On Regular Expressions - Siemens SINUMERIK 840D sl Operating Manual

Integrate create myconfig - diff, expert, topo
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Example
Precondition:
● Create MyConfig is installed in the "C:\Program Files\Siemens\Automation
\SINUMERIK\Create MyConfig 4.8\Diff.exe" directory.
● An "Archive1.arc" archive is available in the "C:\Temp\" path.
● The "myConfig" comparison configuration is available in Diff.
"C:\Program Files\Siemens\Automation\SINUMERIK\Create MyConfig
4.8\Diff.exe" /data "C:\Temp\Archive1.arc" /config "myConfig"
3.8

Use of regular expressions in Diff

3.8.1

General information on regular expressions

Regular expressions represent a general notation to describe text patterns. They are frequently
known as a type of programming language to test and manipulate texts.
A regular expression is a character string with syntactic rules which defines significant text
patterns or character strings in a general form. Regular expressions are used in Diff to identify
a significant character string and, if required, to filter it (e.g. all block numbers or all comments
in a cycle).
A regular expression comprises two types of characters:
● Literal characters
● Meta characters
Literal characters
Literal characters are characters that only represent themselves in a regular expression and
have no special significance.
A search with a regular expression that only contains literals, therefore corresponds to a
conventional character search.
Meta characters
Meta characters are characters that have a special function within regular expressions.
Some meta characters follow:
$ ^ { } [ ] ( ) | . * + ? \ -.
Similar to natural languages, literals can be considered as being the vocabulary, with meta
characters being the grammar of regular expressions.
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE
Create MyConfig - Diff
3.8 Use of regular expressions in Diff
115

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents