Understanding regular expressions - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

If you create the master tag pattern using regular expressions, the corresponding alias tag pattern must be created using regular expressions as well.

The following table displays the regular expressions and their corresponding descriptions:

Button

Notation

Description

\d

Digits

\p{Lu}

Uppercase letters

\p{LI}

Lowercase letters

\p{Lo}

A letter or ideograph that does not have lowercase and uppercase variants, for example, あ

[^\s]*

Any character any number of times except whitespace characters

The following table displays the additional separators used to configure regular expressions, in addition to the separators configured in the central settings:

Separator

Description

Pd

Any hyphen or dash, for example, - and ―.

Pe

Any closed bracket, for example, }, ], and ).

Po

Any punctuation character that is not a dash, bracket, quote or connector, for example, #, %, and, !.

Ps

Any open bracket, for example, {, [, and (.

The following table displays examples of regular expressions and the corresponding tags extracted:

Regular expression

Example tags

1409-\d{2,3}-\d\d 

1409-10-10 and 1409-100-10

[あ-ん]{1,2}-\d{2,3}

あ-12,あえ-12,あ-120, and あえ-123