Hi Jeff,

Would like to know what exactly you want to catch using regex for the two 
links?  (Maybe give some example?) 

The first link you provided, when translate to regex only matches something 
like these:
https://my.service.edu, http://my.service.edu///////////////////////////////////

Which, I think maybe is not what you wanted.


In any case, If your two links are valid, see if the below fit your needs:
(https?://my.service.edu/.*)|(https?://my.service.edu/*)

Or maybe even this:
https?://my.service.edu((/.*)|(/*))


If you want to test Regex (the links pattern you using) without worrying it 
will broke your production setup, you can always go to site 
like http://jsregex.com/, then fine tune your link pattern until it is 
correct before deploying them to production.

cheers
- Andy

On Wednesday, 27 December 2017 21:45:41 UTC+8, Jeffrey Ramsay wrote:
>
> All -
>
> I went live with CAS 5.1.7 in production and ran into a problem that was 
> not reported in test. I have a site which requires me to use both star and 
> dot star allowances so, I defined two service entries however, I think I 
> should be able to combine these but have not been successful.
>
> How can I combine these links? (.|.*) did not work and I'm not sure what 
> effect escaping the dots will have. Since this is production, I can 
> experiment as much as I would like.
>
> https?://my.service.edu/*
>
> https?://my.service.edu/.*
>
> Thanks,
> -Jeff
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/78814056-a9fa-4537-8ec5-9d59f5f74b62%40apereo.org.

Reply via email to