Rename datasource with Regex

../../../../_images/datasource_rename.svg

Applies a regular expression to modify the PATH of a datasource.

Documentation

Create Datasource by modifying the PATH of a Datasource with a regular expression (regex). For more information about how to write regex, see Regular expression syntax.

Definition

Input ports

input datasource

Datasource input

Output ports

output datasource

Datasource output

Configuration

Replace (replace)

Text to replace the matched parts with. Use eg. \1 to substitute the first matched (parenthesis) group.

Search (search)

Part of path to replace using a regular expression. Use “$” for end of name and “^” for the beginning. Learn more about Regular expression syntax in the documentation appendix.

Examples

Implementation

class node_rename.RenameDatasource[source]