Skip to content
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

using range(1,*) within an if statement produces error #69

Closed
DavidUnderdown opened this issue Feb 18, 2015 · 5 comments
Closed

using range(1,*) within an if statement produces error #69

DavidUnderdown opened this issue Feb 18, 2015 · 5 comments
Assignees
Milestone

Comments

@DavidUnderdown
Copy link

Get Schema error

[8.167] failure: string matching regex -?[0-9]+(\.[0-9]+)?' expected but*' found

@adamretter adamretter added the bug label Feb 18, 2015
@adamretter adamretter self-assigned this Feb 18, 2015
@adamretter adamretter added invalid and removed bug labels Feb 18, 2015
@adamretter
Copy link
Contributor

In CSV Schema 1.0, the range expression does not support wild-cards. Perhaps you are thinking of the length expression? http://digital-preservation.github.io/csv-schema/csv-schema-1.0.html#range-expressions

It could be easily added in a CSV Schema 1.1 if desirable? If so I we could re-label this as a feature-request. Let me know...

@DavidUnderdown
Copy link
Author

It would seem logical

@adamretter adamretter added this to the 1.1 milestone Feb 20, 2015
@adamretter
Copy link
Contributor

Can you create a feature request against the CSV-Schema project please?

@valydia
Copy link
Contributor

valydia commented Nov 30, 2015

It has now been implemented in the PR #85.

@DavidUnderdown
Copy link
Author

Closed by release 1.1, commit 104ee5e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants