Menu

[r1]: / trunk / Source / Documentation / Templates / NSMutableArray.tmpl  Maximize  Restore  History

Download this file

56 lines (44 with data), 3.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html ; charset=utf-8">
<style type="text/css">
@import "CSS/doc.css";
</style>
<link rel="stylesheet" type="text/css" href="css/print.css" media="print">
<title>NSMutableArray RegexKit.framework Category Extensions</title>
</head>
<body>
<div class="bodyTop">
<h1>NSMutableArray RegexKit.framework Category Extensions</h1>
<div class="box classSpecs hasRows zebraRows">
<div class="row odd"><span class="cell left">Extends by category</span><span class="cell right lastCell"><a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSMutableArray_Class/index.html">NSMutableArray</a></span></div>
<div class="row even"><span class="cell left">Framework</span><span class="cell right lastCell"><a href="index.html">RegexKit.framework</a></span></div>
<div class="row odd"><span class="cell left">Availability</span><span class="cell right lastCell">Available in Mac OS X v10.4 or later.</span></div>
<div class="row even"><span class="cell left">Declared in</span><ul class="cell right lastCell"><li>RegexKit/NSArray.h</li></ul></div>
<div class="row odd lastRow"><span class="cell left">Companion guides</span>
<ul class="cell right lastCell">
<li><a href="RegexKitProgrammingGuide.html">RegexKit Programming Guide</a></li>
<li><a href="pcre/pcrepattern.html">PCRE Regular Expression Syntax</a></li>
</ul></div>
</div>
<div class="overview">
<div class="masthead">Overview</div>
<h3>Specifying a Regular Expression</h3>
<p>When specifying a regular expression, the regular expression can be either a @link RKRegex RKRegex @/link object or a @link NSString NSString @/link containing the text of a regular expression. When specified as a @link NSString NSString@/link, as determined by sending @link isKindOfClass: isKindOfClass:@/link, the receiver will convert the string to a @link RKRegex RKRegex @/link object via @link regexWithRegexString:options: regexWithRegexString:options:@/link.</p>
<div class="box important"><div class="table"><div class="row"><div class="label cell">Important:</div><div class="message cell">The method will raise @link NSInvalidArgumentException NSInvalidArgumentException @/link if the regular expression is <span class="code">nil</span>. If passed as a @link NSString NSString@/link, the method will raise @link RKRegexSyntaxErrorException RKRegexSyntaxErrorException @/link if the regular expression is not valid.</div></div></div></div>
<h4>Determining if an Object Matches a Regular Expression</h4>
<p>Objects are sent @link isMatchedByRegex: isMatchedByRegex: @/link to determine whether or not they are matched by the specified regular expression.</p>
<div class="seealso">
<div class="section">See also</div>
<ul>
<li><a href="pcre/pcrepattern.html"><i>PCRE Regular Expression Syntax</i></a></li>
</ul>
</div>
</div>
\$hdoc{'NSMutableArray'}{'tasks'}
\$hdoc{'NSMutableArray'}{'methods'}
<script type="text/javascript" language="JavaScript" src="JavaScript/common.js"></script>
</div>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.