setRegEx method of the RTRDataFieldBuilder protocol

Documentation Menu

Sets the regular expression that should match the field's text.

note Note: For details on regular expression syntax supported in ABBYY Real-Time Recognition SDK, see the Regular Expressions section.

warning Important! If the field contains two or more matches for the specified regular expression, the engine will extract and return only the first one.

- (id<RTRDataFieldBuilder>)setRegEx:(NSString*)regEx;



A string describing the regular expression.

Return values

The method returns the same RTRDataFieldBuilder object on which it was called.