lib/pickle/parser/matchers.rb in pickle-0.2.0 vs lib/pickle/parser/matchers.rb in pickle-0.2.1
- old
+ new
@@ -20,10 +20,10 @@
def match_label
"(?::? \"#{match_quoted}\")"
end
def match_value
- "(?:\"#{match_quoted}\"|true|false|[+-]?\\d+(?:\\.\\d+)?)"
+ "(?:\"#{match_quoted}\"|nil|true|false|[+-]?\\d+(?:\\.\\d+)?)"
end
def match_field
"(?:\\w+: #{match_value})"
end
\ No newline at end of file