<HTML>
<style> usBODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }</style>Hey all, <br>
<br>
I am writing a ruleset for my university (for personal use, they would never request such a thing) and I'm running into issues mainly because of my own lack of familiarity with JavaScript Regular Expressions.<br>
<br>
<ruleset name="Stevens" match_rule="http:.*\.stevens\."><br>
<exclusion pattern="^<a href="http://personal\.stevens\.edu/~*">http://personal\.stevens\.edu/~*</a>"/><br>
<br>
<!-- <exclusion pattern="^<a href="http://(www\.math|www\.cs)\.stevens\.edu/~*/">http://(www\.math|www\.cs)\.stevens\.edu/~*/</a>"><br>
       - This rule is needed to exclude department URLs but breaks the rule below.       <br>
--><br>
<rule from="^<a href="http://([^/:@]*)\.stevens\.edu/([^/:@]*)([^/:@]*)">http://([^/:@]*)\.stevens\.edu/([^/:@]*)([^/:@]*)</a>" to="https://$1.stevens.edu/$2"/><br>
</ruleset><br>
<br>
My university apparently doesn't support the departmental subdivisions listed above and if I try to use that exclusion pattern, I get Untrusted Connection error. I tested the regexp on the website that the EFF provides but for some reason it breaks the main rule.<br>
<br>
Can someone give me some advice or help with this?<br>
<br>
-Ian Cordasco<br>
 </HTML>