-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
Add some tests covering regex quantifiers and options #155
Conversation
@Tpt Is there a particular reason this was only added for sparql10 and not sparql11? |
@rubensworks If I am not mistaken the |
Oh, in that case I misunderstood how the tests are structured... |
I noticed 2 more things when implementing the tests in Comunica. First: Second: The following manifest entry sticks out
The subject is :regex**-data-**quantifier-optional while it operates over the files Anyway, thank you for addressing my previous remarks :) |
Yes, out of laziness because it should return the same results as
None, it is an artifact or an older naming I removed late in the MR writing. Fixed.
With pleasure! Thank you for testing this MR. |
sparql/sparql10/regex/regex-no-metacharacters-case-insensitive.rq
Outdated
Show resolved
Hide resolved
@Tpt -- Do you want to squash the commits down to one? Or I can do in the GH interface? Or leave it as 8 commits for "rebase and merge" (this repo normally uses "rebase and merge"). |
Based on XPath spec: https://www.w3.org/TR/xpath-functions/#regex-syntax Issue #46
@afs Done! Buf feel free to do it in GitHub interface the next times if you prefer. |
@rubensworks - I don't think we have a definite policy. More tests is better. Structure can change. My (mild) pref would be new test areas under sparql-current. In this case, there is already existing test area and splitting them across sparql-N seems less helpful. It does mean we are not keeping the compliance tests for Sparql-VER exectly as used at the time as implementation reports but that could be quite a burden for not much value IMO. It's a tradeoff of more tests for sparql-current over a historical record of implementation reports. |
Based on XPath spec: https://www.w3.org/TR/xpath-functions/#regex-syntax
Issue #46