Skip to content

Commit 5c935d3

Browse files
committed
1 parent 00e2afa commit 5c935d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonLD/Core/RDFDatasetUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ private class Regex
546546
{
547547
public static readonly Pattern Iri = Pattern.Compile("(?:<([^>]*)>)");
548548

549-
public static readonly Pattern Bnode = Pattern.Compile("(_:(?:[A-Za-z][A-Za-z0-9]*))"
549+
public static readonly Pattern Bnode = Pattern.Compile("(_:(?:[A-Za-z0-9](?:[A-Za-z0-9\\-\\.]*[A-Za-z0-9])?))"
550550
);
551551

552552
public static readonly Pattern Plain = Pattern.Compile("\"([^\"\\\\]*(?:\\\\.[^\"\\\\]*)*)\""

0 commit comments

Comments
 (0)