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

2.2.1 Templates and paths #8

Open
xquery opened this issue Sep 30, 2012 · 1 comment
Open

2.2.1 Templates and paths #8

xquery opened this issue Sep 30, 2012 · 1 comment

Comments

@xquery
Copy link

xquery commented Sep 30, 2012

are we not missing an opportunity for using the power of regex for path definition ?

for example

%rxq:path('/home/(.*)/(\d{4,7})/')

would match on urls of the pattern

/home/asdfadfdf/11111/

which maps to $1 and $2 which then could be used as function params .. though currently the simplest way for doing this would be some dependency on order, which is not optimal ... will have a deeper think on this.

@ChristianGruen
Copy link
Member

Related to #3.

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

No branches or pull requests

2 participants