<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Feb 22, 2016 at 3:34 PM Paul B. Henson <<a href="mailto:henson@cpp.edu">henson@cpp.edu</a>> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The two examples in the file:<br>
<br>
c:regex="https://([A-Za-z0-9_-]+\.)*example\.org(:\d+)?/.*"<br>
c:regex="http://([A-Za-z0-9_-]+\.)*example\.org(:\d+)?/.*"<br>
<br>
Do not include a ^ to bind the match to the beginning of the line, but they do include an explicit .* at the end which really should not be needed </blockquote><div><br></div><div>I tend to terminate regexes with ".*" any time I mean "everything following" which will include more data to be matched than without, which is usually what I want.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> If they are not implicitly bound, would the above regular expressions also function as:<br>
<br>
c:regex="^https://([A-Za-z0-9_-]+\.)*example\.org(:\d+)?/"<br>
c:regex="^http://([A-Za-z0-9_-]+\.)*example\.org(:\d+)?/"<br>
<br>
I guess everybody probably has their own style for writing regular expressions :)...<br></blockquote><div><br></div><div>That. What you provided should be equivalent.</div><div><br></div><div>M<a href="mailto:users-unsubscribe@shibboleth.net" target="_blank"></a><br>
</div><div><br></div></div></div>