Skip to content

Resolve "CheckParam refuses string with operation of project parameters"

Closes #42 (closed)

Regular expression to be used in order to separate the parameters names:

\b[a-zA-Z][a-zA-Z0-9_]*\b

Explanation:

  • [a-zA-Z]: The first character must be a letter.
  • [a-zA-Z0-9_]*: The following characters can be letters, numbers or underscores (_).
  • \b: Matches a word boundary. This is the position where a word character is not followed or preceded by another word-character.

It is worth noting that parameter names:

  • Always start by a letter
  • They can include numbers
  • They cannot be a pure number

Merge request reports

Loading