Source

cappuccino-docs / cappuccino docs / cappuccino.org / learn / documentation / _c_p_string_8j.html

Full commit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<!-- Mirrored from cappuccino.org/learn/documentation/_c_p_string_8j.html by HTTrack Website Copier/3.x [XR&CO'2006], Mon, 20 Sep 2010 02:19:17 GMT -->
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Cappuccino API: Foundation/CPString.j File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Foundation/CPString.j File Reference</h1>
<p><a href="_c_p_string_8j_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#afe6f7ae6745edd20b60589b232baef4e">CPAnchoredSearch</a> = 8</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#ab0c2e1bd8c24f5a0afd3322f31f5698a">CPBackwardsSearch</a> = 4</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#a5b4af16356e82b5c28b04f813636ec16">CPCaseInsensitiveSearch</a> = 1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#a6f59c957155f06f46f565fb58bf194d9">CPLiteralSearch</a> = 2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#a85a45340a775ca094ec88be67d82a1cc">CPNumericSearch</a> = 64</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">var&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#a3e01fdc8e6e779c22ce14b54aa2ed88b">CPStringRegexEscapeExpression</a> = new RegExp(&quot;(\\&quot; + CPStringRegexSpecialCharacters.join(&quot;|\\&quot;) + &quot;)&quot;, 'g')</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">var&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#a1a818b8712b35d23aa0fc88cb60cc6ae">CPStringRegexSpecialCharacters</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">var&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#a4996fd9879780de49dbbfa0a24ce1d87">CPStringRegexTrimWhitespace</a> = new RegExp(&quot;(^\\s+|\\s+$)&quot;, 'g')</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">var&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#a7624eafcfe935c3e34af3ba787aebce8">CPStringUIDs</a> = new CFMutableDictionary()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String prototype&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_c_p_string_8j.html#a509f19b8b33252128b46d22079932f27">isa</a> = <a class="el" href="class_c_p_string.html">CPString</a></td></tr>
</table>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="afe6f7ae6745edd20b60589b232baef4e"></a><!-- doxytag: member="CPString.j::CPAnchoredSearch" ref="afe6f7ae6745edd20b60589b232baef4e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_p_string_8j.html#afe6f7ae6745edd20b60589b232baef4e">CPAnchoredSearch</a> = 8</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00051">51</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
<a class="anchor" id="ab0c2e1bd8c24f5a0afd3322f31f5698a"></a><!-- doxytag: member="CPString.j::CPBackwardsSearch" ref="ab0c2e1bd8c24f5a0afd3322f31f5698a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_p_string_8j.html#ab0c2e1bd8c24f5a0afd3322f31f5698a">CPBackwardsSearch</a> = 4</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00046">46</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
<a class="anchor" id="a5b4af16356e82b5c28b04f813636ec16"></a><!-- doxytag: member="CPString.j::CPCaseInsensitiveSearch" ref="a5b4af16356e82b5c28b04f813636ec16" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_p_string_8j.html#a5b4af16356e82b5c28b04f813636ec16">CPCaseInsensitiveSearch</a> = 1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00034">34</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
<a class="anchor" id="a6f59c957155f06f46f565fb58bf194d9"></a><!-- doxytag: member="CPString.j::CPLiteralSearch" ref="a6f59c957155f06f46f565fb58bf194d9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_p_string_8j.html#a6f59c957155f06f46f565fb58bf194d9">CPLiteralSearch</a> = 2</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00040">40</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
<a class="anchor" id="a85a45340a775ca094ec88be67d82a1cc"></a><!-- doxytag: member="CPString.j::CPNumericSearch" ref="a85a45340a775ca094ec88be67d82a1cc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_c_p_string_8j.html#a85a45340a775ca094ec88be67d82a1cc">CPNumericSearch</a> = 64</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00057">57</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
<a class="anchor" id="a3e01fdc8e6e779c22ce14b54aa2ed88b"></a><!-- doxytag: member="CPString.j::CPStringRegexEscapeExpression" ref="a3e01fdc8e6e779c22ce14b54aa2ed88b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">var <a class="el" href="_c_p_string_8j.html#a3e01fdc8e6e779c22ce14b54aa2ed88b">CPStringRegexEscapeExpression</a> = new RegExp(&quot;(\\&quot; + CPStringRegexSpecialCharacters.join(&quot;|\\&quot;) + &quot;)&quot;, 'g')</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00065">65</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
<a class="anchor" id="a1a818b8712b35d23aa0fc88cb60cc6ae"></a><!-- doxytag: member="CPString.j::CPStringRegexSpecialCharacters" ref="a1a818b8712b35d23aa0fc88cb60cc6ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">var <a class="el" href="_c_p_string_8j.html#a1a818b8712b35d23aa0fc88cb60cc6ae">CPStringRegexSpecialCharacters</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Initial value:</b><div class="fragment"><pre class="fragment"> [
      <span class="charliteral">&apos;/&apos;</span>, <span class="charliteral">&apos;.&apos;</span>, <span class="charliteral">&apos;*&apos;</span>, <span class="charliteral">&apos;+&apos;</span>, <span class="charliteral">&apos;?&apos;</span>, <span class="charliteral">&apos;|&apos;</span>, <span class="charliteral">&apos;$&apos;</span>, <span class="charliteral">&apos;^&apos;</span>,
      <span class="charliteral">&apos;(&apos;</span>, <span class="charliteral">&apos;)&apos;</span>, <span class="charliteral">&apos;[&apos;</span>, <span class="charliteral">&apos;]&apos;</span>, <span class="charliteral">&apos;{&apos;</span>, <span class="charliteral">&apos;}&apos;</span>, <span class="charliteral">&apos;\\&apos;</span>
    ]
</pre></div>
<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00061">61</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
<a class="anchor" id="a4996fd9879780de49dbbfa0a24ce1d87"></a><!-- doxytag: member="CPString.j::CPStringRegexTrimWhitespace" ref="a4996fd9879780de49dbbfa0a24ce1d87" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">var <a class="el" href="_c_p_string_8j.html#a4996fd9879780de49dbbfa0a24ce1d87">CPStringRegexTrimWhitespace</a> = new RegExp(&quot;(^\\s+|\\s+$)&quot;, 'g')</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00066">66</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
<a class="anchor" id="a7624eafcfe935c3e34af3ba787aebce8"></a><!-- doxytag: member="CPString.j::CPStringUIDs" ref="a7624eafcfe935c3e34af3ba787aebce8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">var <a class="el" href="_c_p_string_8j.html#a7624eafcfe935c3e34af3ba787aebce8">CPStringUIDs</a> = new CFMutableDictionary()</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00059">59</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
<a class="anchor" id="a509f19b8b33252128b46d22079932f27"></a><!-- doxytag: member="CPString.j::isa" ref="a509f19b8b33252128b46d22079932f27" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String prototype <a class="el" href="_c_p_u_r_l_8j.html#a03a3630911cf8a15028c0e79b63d3f45">isa</a> = <a class="el" href="class_c_p_string.html">CPString</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_p_string_8j_source.html#l00753">753</a> of file <a class="el" href="_c_p_string_8j_source.html">CPString.j</a>.</p>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Apr 6 10:33:04 2010 for Cappuccino API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>

<!-- Mirrored from cappuccino.org/learn/documentation/_c_p_string_8j.html by HTTrack Website Copier/3.x [XR&CO'2006], Mon, 20 Sep 2010 02:19:17 GMT -->
</html>