jquery source code, classname with linefeeds?
<p>Today I looked at the source code of the jQuery function removeClass:<br>
There is the following line:  </p>

<pre><code>className = (" " + elem.className + " ").replace( rclass, " " );
</code></pre>

<p>rclass:  </p>

<pre><code>rclass = /[\n\t\r]/g,
</code></pre>

<p>In the book "JavaScript The Definitve Guide" from David Flanagan, 6th Edition, on page 438 there are the following sentence:  </p>

<blockquote>
  <p>..., so the HTML class attribute is available to JavaScript code using
  the name          className. ...  and the class attribute holds a
  space-separated list of class names.</p>
</blockquote>

<p>Why the jQuery coders assume that the class names can also be separated by tabs and line feeds?</p>
