title: Upgrading to select2 v4: make matcher compatible
body: <p>I have a matcher from an older version of select2, and I need to get it to work in select2 v4. select2 v4 has changed the matcher function, and offers a compatibility module with which you can wrap your old matcher. The module is included in the "full" version of select2, and is listed under "select2/compat/matcher". I just don't know how to read it well enough to utilize it and wrap my old matcher, which looks like this:</p>
  
  <pre><code>           matcher: function (term, text) {
             term = term.toUpperCase().replace('SAINT', 'ST. C').replace(' ', '').replace('.', '');
             text = text.toUpperCase().replace('SAINT', 'ST. C').replace(' ', '').replace('.', '');
  
             return text.toUpperCase().indexOf(term.toUpperCase()) &gt;= 0;
  
         }
  </code></pre>
  
  <p>I have done some reading about AMD and modules, but it's still a bit too advanced for me to understand.</p>