Actions
Bug #7866
closedParsing of @parameter does not accept numeric variable names
Status:
Released
Priority:
N/A
Assignee:
Category:
Generic methods
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
According to cfengine docs, variable names can be alphanumeric and underscore:
"The allowed characters in variable names are alphanumeric (both upper and lower case) and undercore."
However, "parse_bundlefile_metadata" does not match on numbers, just alpha and underscore:
match = re.match("^\s*#\s*@(\w+)\s(([a-zA-Z_]+)\s+(.*)|.*)$", line, flags=re.UNICODE)
Updated by Janos Mattyasovszky almost 9 years ago
Updated by Janos Mattyasovszky almost 9 years ago
- Status changed from New to Pending release
- % Done changed from 0 to 100
Applied in changeset 71b3c48bc6563aa366e6a42d3cc2fab4cb14b650.
Updated by Jonathan CLARKE almost 9 years ago
- Blocks Bug #7864: Missing Functions for File-Checks added
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset over 5 years ago
- Target version set to 3.1.24
- Priority set to 0
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category set to Generic methods
Actions