mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 01:01:03 +00:00
Added NSRegularExpressionSearch (10.7) support to NSString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33600 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5c802d5d57
commit
d9fda65728
4 changed files with 65 additions and 1 deletions
|
@ -110,6 +110,17 @@ enum
|
|||
NSWidthInsensitiveSearch = 256,
|
||||
NSForcedOrderingSearch = 512
|
||||
#endif
|
||||
#if OS_API_VERSION(100700,GS_API_LATEST)
|
||||
,
|
||||
/**
|
||||
* Treats the search string as a regular expression. This option may be
|
||||
* combined with NSCaseInsensitiveSearch and NSAnchoredSearch, but no other
|
||||
* search options.
|
||||
*
|
||||
* This option may only be used with the -rangeOfString: family of methods.
|
||||
*/
|
||||
NSRegularExpressionSearch = 1024
|
||||
#endif
|
||||
};
|
||||
typedef NSUInteger NSStringCompareOptions;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue