We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d631643 commit 2623899Copy full SHA for 2623899
src/JsonLD/Core/RDFDatasetUtils.cs
@@ -553,8 +553,9 @@ private class Regex
553
public static readonly Pattern Bnode = Pattern.Compile("(_:(?:[A-Za-z0-9](?:[A-Za-z0-9\\-\\.]*[A-Za-z0-9])?))"
554
);
555
556
- public static readonly Pattern Plain = Pattern.Compile("\"([^\"\\\\]*(?:\\\\.[^\"\\\\]*)*)\""
557
- );
+ public static readonly Pattern ECHAR = Pattern.Compile("\\\\[tbnrf\"'\\\\]");
+
558
+ public static readonly Pattern Plain = Pattern.Compile("\"((?:[^\\x22\\x5C\\x0A\\x0D]|" + ECHAR + "|" + UCHAR + ")*)\"");
559
560
public static readonly Pattern Datatype = Pattern.Compile("(?:\\^\\^" + Iri + ")"
561
0 commit comments