Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Can't compile on 10.6.8 since NSRegularExpression is only available in 10.7 #172

pichfl opened this Issue Jan 16, 2012 · 5 comments


None yet
3 participants

pichfl commented Jan 16, 2012

A quick check for the availability of NSRegularExpression and the use of RegExKit if not would fix this quite easily.


tomaz commented Jan 16, 2012

I've received several issues for this - time to update some docs, will leave this ticket open until then :))

NSRegularExpression was introduced recently with a user adding better headerdoc support. Although I used RegexKitLite throughout the rest of the code, I decided to keep it - I'm planning to eventually upgrade to NSRegularExpression anyway, due to problems I've had with with old library in the past.

Anyway, for now you can get away by simply commenting relevant code until it works - I've made headerdoc support opt-in via cmd line switch, so unless you're using it, you should be fine. Other solution would be to replace NSRegularExpression with RegexKitLite, but I wouldn't keep both options, would make code too hard to maintain IMHO.

pichfl commented Jan 16, 2012

Commented it, worked fine. I think most people (including me) will upgrade to Lion sooner or later anyway.


tomaz commented Jan 16, 2012

That's how I thought too - expecting developers would run latest OS seems logical to me :) There are probably "legitimate" cases for not upgrading, but will be less and less with time...


jorgenpt commented Jan 17, 2012

You could also just disable headerdoc support if you're not on Lion. :)


tomaz commented Jan 19, 2012

An option for sure :)

@tomaz tomaz closed this in 3fb5d08 Feb 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment