Store matching RegExps
Closed this issue · 5 comments
What is the expectation here for the underlying string that the regexps are being matched on? The reasonable thing that comes to mind would be to clarify in the spec that implementations must match the regex against some canonical string for a term such as N-Triple, but this opens up questions. Are blank node labels be preserved? Should the default graph be ignored if a RegExp is used?
As Store
implementations might not share the same underlying serialization format, I would push towards filtering constructs (#123) through which each Store
implementation could build its queries rather than RegExp-based pattern matching (which only applies to strings).
I would propose to remove RegExp from the interface.
I strongly agree with this.
The RexExp
params complicate the implementation of Store
too much. While it may be useful for consumers, it does not really belong there IMO.
Yes please.