We change the matching pattern for these placeholders. Now it's the following:
First char should be alphanumeric: [A-Z | a-z | 0-9] (empty names are not supported)
Anything between the first and the last chars (if applicable) can be anything except of '<' and '>' so the placeholders are not confusing for both the users and the matcher. We don't provide escaping for such symbols, expecting that there should not be a need to use such symbols as part of a placeholder's name.
Last char should be alphanumeric: [A-Z | a-z | 0-9] (last char == first char for single-char namesj
This PR fixes the issue with incorrect examples placeholders parsing, which does not, for example, let us using it in combination with some of the comparison operators (<
,
<=
).We change the matching pattern for these placeholders. Now it's the following: