Regular expression (RegEx) file structure
- Last UpdatedApr 24, 2025
- 1 minute read
The following sample file—ADERegEx.xml—illustrates the format take by a regular expression (RegEx) file.
<?xml version="1.0" encoding="utf-8"?>
The Regular Expression (RegEx) file takes the following format. For example, the file is called ADERegEx.xml
<?xml version="1.0" encoding="utf-8"?>
<ADERegexSchema xmlns="http://www.telvent.com/ADERegexSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.telvent.com/ADERegexSchema ADERegexSchema.xsd">
<Regex Name="<Name>" Expression="<Expression>" Description="<Description>" />
.
.
<Regex Name="<Name>" Expression="<Expression>" Description="<Description>" />
</ADERegexSchema>
Custom or modified RegEx files must be saved to the %DNADataRoot%\ADE\config\ADE\Regex directory. If you modify an existing ADERegEx.xml file, change the file name to ADERegEx.Alter.xml.
<?xml version="1.0" encoding="utf-8"?>
<ADERegexSchema xmlns="http://www.telvent.com/ADERegexSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.telvent.com/ADERegexSchema ADERegexSchemaAlter.xsd">
<Regex Name="<Name>" Expression="<Expression>" Description="<Description>" />
.
.
<Regex Name="<Name>" Expression="<Expression>" Description="<Description>" />
</ADERegexSchema>
Projects can either modify existing RegEx files or add new ones. Customized project files must be added to the %DNADataRoot%\ADE\config\ADE\Regex directory.