Closed kvistgaard closed 6 months ago
@kvistgaard my editor is complains about your string too.
sh:pattern "^\d{2}/\d{2}/\d{4}$|^\d{4}/\d{2}/\d{2}$"
you have to escape with \\ e.g.
sh:pattern "^\\d{3}-\\d{2}-\\d{4}$" ;
is it the problem ?
Yes, indeed, the backlash itself needs escaping in the expression"". Thanks.
When trying to set a SHACL shapes file to query, it gives an error
It is part of a regex pattern