Skip to content

Commit 589e1d4

Browse files
authored
Update NQuads.php
1 parent a0fa86c commit 589e1d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NQuads.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function parse($input)
7878
{
7979
// define partial regexes
8080
$iri = '(?:<([^>]*)>)';
81-
$bnode = '(_:(?:[A-Za-z0-9]+))';
81+
$bnode = '(_:(?:[A-Za-z0-9\_\.\-]+))';
8282
$plain = '"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"';
8383
$datatype = "\\^\\^$iri";
8484
$language = '(?:@([a-z]+(?:-[a-z0-9]+)*))';

0 commit comments

Comments
 (0)