Developer's Documentation for free mobile OCR SDK

Documentation Menu

setRegEx method of the RTRDataFieldBuilder protocol

Sets the regular expression to which the data in the field must conform.

 Note: The regular expression syntax is derived from ICU regular expressions, with some minor features not supported. See the Regular Expressions section in the ICU User Guide.

- (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.