Hi,
Seeing notifications from outside:
==
There was a great logging tool called Meow for the nsnotifications
but i cannot seem to find that anymore. I had hoped to write a D-Trace
probe to give a similar output as Meow but support for cocoa objects
like NSString.
Perhaps also consider RegexKitLite, which is written by the same
author. The difference is it links to shared libicu thats already
distributed in the os. No need to embed some specific version of PCRE
library into your app included with the regexkit (saves ~1.6mb in the
bundle). Also the
:
But RegexKitLite does not support substitution, does it?
Regex pattern matching is one thing, regex string substitution
another.
On Jun 6, 2008, at 11:34 AM, dream cat7 wrote:
Perhaps also consider RegexKitLite, which is written by the same
author. The difference is it links to shared libicu thats already
like this perl script for changing case to word caps
in mind:
echo 'some test text' | perl -pe 's/\b(.*?)/\u\L$1/g'
search pattern would be \b(.*?)
replacement pattern would be \u\L$1
I would need something with capabilities like these.
On Jun 6, 2008, at 2:09 PM, dream cat7 wrote
... pcre takes utf8 strings
... utf-16 is supported by RegexKitLite lib ICU
... NSString and CFString are implemented as utf-16
On 6 Jun 2008, at 16:02, Jason Stephenson wrote:
Replying to myself here, which I know is generally a bad thing, but
this thought just came to me.
I have yet to