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

Add prefixedRange to CSV Schema Language 1.2 #12

Open
DavidUnderdown opened this issue Dec 9, 2016 · 0 comments
Open

Add prefixedRange to CSV Schema Language 1.2 #12

DavidUnderdown opened this issue Dec 9, 2016 · 0 comments
Milestone

Comments

@DavidUnderdown
Copy link
Contributor

Service numbers often have a non-numeric prefix, but then the numeric part may be within a well-defined numeric range. It's possible to do a bit of checking that the number is within an expected range using regex, but it's not easy to read, and difficult to be absolutely precise. It would be helpful if you could do something like prefixedRange("JX ",125000,145750).

There's some similarity between this and being able to supply a fixed path to prefix to a file expression (though the implementation would need to be different.

@DavidUnderdown DavidUnderdown added this to the 1.2 milestone Dec 9, 2016
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

1 participant