|
|
@ -37,9 +37,9 @@ args = parser.parse_args() |
|
|
|
prog_param = re.compile(r"@Param: (\w+).*((?:\n[ \t]*// @(\w+)(?:{([^}]+)})?: (.*))+)(?:\n[ \t]*\n|\n[ \t]+[A-Z])", re.MULTILINE) |
|
|
|
prog_param = re.compile(r"@Param: (\w+).*((?:\n[ \t]*// @(\w+)(?:{([^}]+)})?: (.*))+)(?:\n[ \t]*\n|\n[ \t]+[A-Z])", re.MULTILINE) |
|
|
|
|
|
|
|
|
|
|
|
# match e.g @Value: 0=Unity, 1=Koala, 17=Liability |
|
|
|
# match e.g @Value: 0=Unity, 1=Koala, 17=Liability |
|
|
|
prog_param_fields = re.compile(r"[ \t]*// @(\w+): (.*)") |
|
|
|
prog_param_fields = re.compile(r"[ \t]*// @(\w+): ([^\r\n]*)") |
|
|
|
# match e.g @Value{Copter}: 0=Volcano, 1=Peppermint |
|
|
|
# match e.g @Value{Copter}: 0=Volcano, 1=Peppermint |
|
|
|
prog_param_tagged_fields = re.compile(r"[ \t]*// @(\w+){([^}]+)}: (.*)") |
|
|
|
prog_param_tagged_fields = re.compile(r"[ \t]*// @(\w+){([^}]+)}: ([^\r\n]*)") |
|
|
|
|
|
|
|
|
|
|
|
prog_groups = re.compile(r"@Group: *(\w+).*((?:\n[ \t]*// @(Path): (\S+))+)", re.MULTILINE) |
|
|
|
prog_groups = re.compile(r"@Group: *(\w+).*((?:\n[ \t]*// @(Path): (\S+))+)", re.MULTILINE) |
|
|
|
|
|
|
|
|
|
|
|