Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
johne
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
johne
16y ago
What do you gain by wrapping Objective-C around your regex? Me being vastly more productive. Extract all the http like URL's from a string and print them: for(id match in [searchString componentsMatchedByRegex:@"\\bhttps?://[a-zA-Z0-
2.
▲
by
johne
16y ago
O.. M.. F.. G.. I had no idea they did this. I mean, what is the point? Talk about "not invented here" mentality: "I've got a fantastic idea! Unicode already has an official name for every Unicode character, so let's throw all of that out
3.
▲
by
johne
16y ago
A JSON parser at ~2K lines: https://github.com/johnezang/JSONKit I'm the author, so I'm obviously biased :). It has strict Unicode standard UTF-8 parsing ("passes" http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt ) and has a w