lib/fig/grammar.treetop in fig-0.1.22 vs lib/fig/grammar.treetop in fig-0.1.23

- old
+ new

@@ -97,10 +97,10 @@ rule string '"' value:(!'"' . )* '"' ws end rule descriptor - ((package:[a-zA-Z0-9.-]+ ("/" version:[a-zA-Z0-9.\-]+)? (":" config:config_name)? ws) / + ((package:[a-zA-Z0-9.-]+ ("/" version:[a-zA-Z0-9_\-.]+)? (":" config:config_name)? ws) / (":" config:config_name ws)) { def get_version elements.each do |element| if element.respond_to?(:version) return element.version.text_value