lib/junoser/ruler.rb in junoser-0.3.6 vs lib/junoser/ruler.rb in junoser-0.3.7
- old
+ new
@@ -197,10 +197,11 @@
return true
end
end
begin
- if line =~ /(.*)\\s+apply-groups\\s+\\S+\$/
+ # .xsd doesn't include "apply-groups"
+ if line =~ /(.*)\\s+apply-groups\\s+(\\S+|\\[.*\\])$/
return \$1 == 'set' ? true : parse(\$1)
end
parse line
true