Inherits from NSObject
Conforms to IMatcher
Declared in StringMatch.h
StringMatch.m

Overview

This matcher is used in MatchExpressions to check String conditions

See MatchExpression

Properties

symbol

Get the condition symbol of this matcher

@property (weak, readonly) NSString *symbol

Discussion

Get the condition symbol of this matcher

Declared In

IMatcher.h

Class Methods

stringMatchContains

Checks that Str1.indexOf(Str2) != -1

+ (StringMatch *)stringMatchContains

Discussion

Checks that Str1.indexOf(Str2) != -1

Declared In

StringMatch.h

stringMatchEndsWith

Checks that Str1 end with characters contained in Str2

+ (StringMatch *)stringMatchEndsWith

Discussion

Checks that Str1 end with characters contained in Str2

Declared In

StringMatch.h

stringMatchEquals

Checks that Str1 == Str2

+ (StringMatch *)stringMatchEquals

Discussion

Checks that Str1 == Str2

Declared In

StringMatch.h

stringMatchNotEquals

Checks that Str1 != Str2

+ (StringMatch *)stringMatchNotEquals

Discussion

Checks that Str1 != Str2

Declared In

StringMatch.h

stringMatchStartsWith

Checks that Str1 starts with characters contained in Str2

+ (StringMatch *)stringMatchStartsWith

Discussion

Checks that Str1 starts with characters contained in Str2

Declared In

StringMatch.h

Instance Methods

type

Get the type of this matcher

- (NSInteger)type

Discussion

Get the type of this matcher

Declared In

IMatcher.h