Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

During features download feature names are transformed into filenames. Below are the rules we use for transformation

FILENAME = FEATURE_NAME.replaceAll("[^a-zA-Z0-9]", " ").replaceAll("\s+", "-").trim().toLowerCase();

  • Replace all non alphanumeric characters with single space [^a-zA-Z0-9] → “ “

  • Replace multiple spaces with dash \s+ → “-“

  • Trim

  • Transform to lowercase

Example:

Feature name: Feature name transformation !#$%&'*+-/=?^_`{|}~

Transformed: feature-name-transformation

  • No labels