eVision Python API
Loading...
Searching...
No Matches
eVision.ETopologyFormatType Class Reference

Format types supported for the specification of an eVision.ETopology. More...

Inheritance diagram for eVision.ETopologyFormatType:
Collaboration diagram for eVision.ETopologyFormatType:

Static Public Attributes

int ECMA = 0
 eVision.ETopology format written using the ECMAScript regular expression grammar.
int Simplified = 1
 eVision.ETopology format written using the Euresys Simplified grammar.

Detailed Description

Format types supported for the specification of an eVision.ETopology.

Remarks:

eVision.ETopology requires to specify the format line-by-line.

Member Data Documentation

◆ ECMA

int eVision.ETopologyFormatType.ECMA = 0
static

eVision.ETopology format written using the ECMAScript regular expression grammar.

This grammar is described in the ECMAScript Language Specification, ECMA-262, Chapter 15 part 10, RegExp (Regular Expression) Objects (https://262.ecma-international.org/5.1/#sec-15.10)

◆ Simplified

int eVision.ETopologyFormatType.Simplified = 1
static

eVision.ETopology format written using the Euresys Simplified grammar.

This grammar is composed of

  • char classes:
    • A: Uppercase ASCII letter
    • a: Lowercase ASCII letter
    • 0: Digit
    • P: ASCII punctuation character
    • V: Any character belonging to either A or 0
    • X: Any character belonging to either A, a, 0 or P
    • : Space
  • delimiters
    • '[]': literal group delimiter. Any characters inside this group will be matched literally
    • '{n,m}': ranges. The literal group or char class preceding the range will be match between m and n times.

Remarks:

For example, all the strings below:

  • Lot: 12-783 Exp: 06/07/2024
  • Lot: 74-1 Exp: 01/03/1995
  • Lot: 09-447 Exp: 75/42/0065
  • Lot: 85-75 Exp: 01/22/1569

are matched by the Euresys simplified format [Lot:] 00[-]0{1,3} [Exp:] 00[/]00[/]0{4}