csvlint.rb icon indicating copy to clipboard operation
csvlint.rb copied to clipboard

Syntax of `pattern` constraint

Open JeniT opened this issue 10 years ago • 2 comments

What's the syntax of the pattern constraint? Is this using Ruby regexps or something more platform neutral such as those specified in XML Schema?

JeniT avatar Mar 02 '14 21:03 JeniT

At the moment its just using ruby regex, but ought to use XML Schema regex as you suggest. It covers what we need here. Latest discussion is here:

https://github.com/dataprotocols/dataprotocols/issues/95#issuecomment-36487782

ldodds avatar Mar 03 '14 08:03 ldodds

Given pattern is still using ruby regex, and the mentioned issue has been closed, does this mean pattern will likely stay with ruby regex and not change to XSD style?

nauzilus avatar Oct 28 '15 08:10 nauzilus