Rest paths and wildcards/regex

Wednesday, 9 October 2013 · 3 messages · last reply 10 Oct 2013
JM
Jeremy Moseley9 Oct 2013 23:33 #
Hi Guys, I was wondering if there was any way to implement wildcards and/or regex matching with the %rest:path annotation when using the RESTXQ module. I have several situations where I am matching similar numbers of arguments to different functions, or an unknown number of arguments to a single function, and I was trying to figure out the best way to accomplish this. Cheers, Jeremy
CG
Christian Grün10 Oct 2013 00:18 #
Hi Jeremy, there’s a good chance that regex will be supported in a future version of RESTXQ and, thus, BaseX. You are invited to join the discussion in the EXQuery GitHub repository [1, 2]! I guess, e.g., that some time needs to be spent to define how conflicting paths are to be resolved [3]. Best, Christian [1] https://github.com/exquery/exquery/issues/3 [2] https://github.com/exquery/exquery/wiki/Feature-Requests [3] https://github.com/exquery/exquery/issues/1 ___________________________ 2013/10/9 Jeremy Moseley <jeremy at inkling.com>:
Quoted text · Jeremy Moseley · 19 lines
> Hi Guys, > > I was wondering if there was any way to implement wildcards and/or regex > matching with the %rest:path annotation when using the RESTXQ module. > > I have several situations where I am matching similar numbers of arguments > to different functions, or an unknown number of arguments to a single > function, and I was trying to figure out the best way to accomplish this. > > Cheers, > > Jeremy > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
JM
Jeremy Moseley10 Oct 2013 21:43 #
Thanks for the response Christian. It appears everything I need is already either in the works or in the feature requests, so I guess it is only a matter of time. Cheers, Jeremy On Wed, Oct 9, 2013 at 3:18 PM, Christian Grün <christian.gruen at gmail.com>wrote:
Quoted text · Christian Grün · 38 lines
> Hi Jeremy, > > there’s a good chance that regex will be supported in a future version > of RESTXQ and, thus, BaseX. You are invited to join the discussion in > the EXQuery GitHub repository [1, 2]! I guess, e.g., that some time > needs to be spent to define how conflicting paths are to be resolved > [3]. > > Best, > Christian > > [1] https://github.com/exquery/exquery/issues/3 > [2] https://github.com/exquery/exquery/wiki/Feature-Requests > [3] https://github.com/exquery/exquery/issues/1 > ___________________________ > > 2013/10/9 Jeremy Moseley <jeremy at inkling.com>: > > Hi Guys, > > > > I was wondering if there was any way to implement wildcards and/or regex > > matching with the %rest:path annotation when using the RESTXQ module. > > > > I have several situations where I am matching similar numbers of > arguments > > to different functions, or an unknown number of arguments to a single > > function, and I was trying to figure out the best way to accomplish this. > > > > Cheers, > > > > Jeremy > > > > > > _______________________________________________ > > BaseX-Talk mailing list > > BaseX-Talk at mailman.uni-konstanz.de > > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > >

⚡Generated with XQuery