title: Except in a regex still returns a match
body: <p>I am in the process of trying to firm my grasp over regex expression using except and am trying to explain to myself why the following wont work. I am using regex 101 for testing</p>
  
  <p>I have something like this</p>
  
  <pre><code>[^abc]s$
  </code></pre>
  
  <p>This works when any letter that is next to the end letter s is not an a,b or c.
  What i want is the entire string should not have an a , b or c. How can i specify that.</p>
  
  <p>I tried this</p>
  
  <pre><code>([^abc].*)s$
  . =&gt; any character
  * =&gt; any no of times
  s$ =&gt; ending with a s character
  </code></pre>
  
  <p>so <code>[^abc].</code> should be any character except abc - Am i Correct ?</p>
  
  <p>Overall the expression should be any no of characters except characters a,b or c occurring any no of times and ending with character s ? I tried this and this still passes the regex  with the following word</p>
  
  <pre><code>ddsbbsdds
  </code></pre>
  
  <p>since the string has the characters b in it it should have failed the regex test</p>