Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1 KB

File metadata and controls

23 lines (15 loc) · 1 KB

subkt / myaa.subkt.tasks / SubProperties / <init>

<init>

SubProperties()

Reads a list of properties of the form release.entry.property=value, which can later be looked up using the match method.

Properties may contain wildcards, which will match any sequence of characters. For instance, a property defined as TV.episode*.name=value will be found with a match("name", entry="episode01", release="TV") call. Groups (e.g. {01,03,04}.op=OP1.ass) and ranges (e.g. {01..12}.cour=1) are also supported.

Unspecified release and entry components are equivalent to wildcards. In other words, name=value is equivalent to *.*.name=value, while 01.name=value is equivalent to *.01.name=value.

Properties are ordered, and the value of the last property matching the match query will be returned. Thus, later values will override earlier values.

Lines starting with # will be interpreted as comments and ignored.