We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to set a SHACL shapes file to query, it gives an error
It is part of a regex pattern
sh:or ( [ sh:datatype xsd:date ] [ sh:datatype xsd:string ; sh:pattern "^\d{2}/\d{2}/\d{4}$|^\d{4}/\d{2}/\d{2}$" ] ) ;
The text was updated successfully, but these errors were encountered:
@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 ?
Sorry, something went wrong.
Yes, indeed, the backlash itself needs escaping in the expression"". Thanks.
No branches or pull requests
When trying to set a SHACL shapes file to query, it gives an error
It is part of a regex pattern
sh:or ( [ sh:datatype xsd:date ] [ sh:datatype xsd:string ; sh:pattern "^\d{2}/\d{2}/\d{4}$|^\d{4}/\d{2}/\d{2}$" ] ) ;
The text was updated successfully, but these errors were encountered: