lib/rdf/trig/reader.rb in rdf-trig-1.1.5 vs lib/rdf/trig/reader.rb in rdf-trig-1.1.5.1

- old
+ new

@@ -15,11 +15,11 @@ terminal(:DOUBLE, DOUBLE) terminal(:DECIMAL, DECIMAL) terminal(:INTEGER, INTEGER) terminal(:PNAME_LN, PNAME_LN, unescape: true) terminal(:PNAME_NS, PNAME_NS) - terminal(:STRING_LITERAL_LONG_SINGLE_QUOTE, STRING_LITERAL_LONG_SINGLE_QUOTE, unescape: true) - terminal(:STRING_LITERAL_LONG_QUOTE, STRING_LITERAL_LONG_QUOTE, unescape: true) + terminal(:STRING_LITERAL_LONG_SINGLE_QUOTE, STRING_LITERAL_LONG_SINGLE_QUOTE, unescape: true, partial_regexp: /^'''/) + terminal(:STRING_LITERAL_LONG_QUOTE, STRING_LITERAL_LONG_QUOTE, unescape: true, partial_regexp: /^"""/) terminal(:STRING_LITERAL_QUOTE, STRING_LITERAL_QUOTE, unescape: true) terminal(:STRING_LITERAL_SINGLE_QUOTE, STRING_LITERAL_SINGLE_QUOTE, unescape: true) # String terminals terminal(nil, %r([\{\}\(\),.;\[\]a]|\^\^|true|false))