I'm trying to map a page to the repo using regex but this seems to break if the domain contains slashes.
So.. dom/[@domain~'bbc.co.uk/news'] doesn't work unless you remove '/news' from the end of it.
My SUT absolutely requires we can match domains on strings that include slashes. Anyone found a work around? Putting a backslash before it doesn't work.
Ask general questions here.
3 posts • Page 1 of 1
Yeah, the @Domain attribute only looks at the domain itself, which, technically, is the server name and top-level domain name of the site, without the page or query strings. If you need the rest, you can use the @Path (most likely what you want), @PageUrl (contains the whole thing), or @Page (just has the current page) attributes.
Shortcuts usually aren't...