On Wednesday, 28 November 2018 10:06:18 CET Raphaël Pinson wrote: > Your example does not correspond to > > (entry | record)* > > Rather, it corresponds to > > entry* . record* > > since entries inside records are not independent. > > Also, you're missing comment support: > > (comment | entry)* . record* Hmm most probably I did not explain correctly: [end] is not the start of a new group called "end", but it's the closing tag for a group. So back to my example: | foo=var | [group1] | var=value | [end] | foo2=var2 | [group2] | var=value | [end] there are: - a un-grouped entry "foo" with value "var" - a group "group1" with a "var" entry - a un-grouped entry "foo2" with value "var2" - a group "group2" with a "var" entry Groups (with entries in it) and un-grouped entries mix freely in the configuration file. -- Pino Toscano
Description: This is a digitally signed message part.