Simple string pattern matching
Posted
by Joonas Trussmann
on Stack Overflow
See other posts from Stack Overflow
or by Joonas Trussmann
Published on 2010-03-16T08:21:16Z
Indexed on
2010/03/16
8:26 UTC
Read the original article
Hit count: 412
What's the easiest way of doing simple pattern matching a la .something.com something.com/ something.com/somefolder/*.jpg in the iPhone SDK? At this point it looks like I'm going to have to use a regular expression library of some sort, which is really overkill when all I need is simple wildcard matching. None of the standard NSString methods seem to be available on the iPhone.
© Stack Overflow or respective owner