- local k, v = r:match("([^.]+)%.([^.]+)")
- return k and self:_section_filename(k, v)
+ local k, v, h = r:match("([^.]+)%.([^.]+)%.([^.]+)")
+ if not k then
+ k, v = r:match("([^.]+)%.([^.]+)")
+ end
+ if k then
+ if h then
+ return self:_variable_target(k, v, h), true
+ else
+ return self:_section_filename(k, v)
+ end
+ end