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

Regex for Pattern with Activated Route like bills?id=123 #110

Open
johnny68 opened this issue Mar 10, 2019 · 0 comments
Open

Regex for Pattern with Activated Route like bills?id=123 #110

johnny68 opened this issue Mar 10, 2019 · 0 comments

Comments

@johnny68
Copy link

So, I was trying to use this with my dynamic URL
The regex that I am trying to work with is

/users/bills?id=[0-9]+$

It is valid at https://regex101.com/r/rmYFfG/1
I tried to follow this Link but it didn't work.
Further I tried
breadcrumbService.addCallbackForRouteRegex('/users/bills\?id=[0-9]+$', this.getName); getName(id: string): string { return 'User : ' + id; }

But it still not working
Output is always like

users/bills?id=1

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

1 participant