title: Overriding HashSet's Contains Method
body: <p>Could anybody tell me how I can override HashSet's contains() method to use a regex match instead of just equals()?</p>
  
  <p>Or if not overriding, how I can add a method to use a regex pattern? Basically, I want to be able to run regex on a HashSet containing strings, and I need to match substrings using regex.</p>
  
  <p>If my method is not appropriate, please suggest others.</p>
  
  <p>Thank you. :)</p>