Hi,
I'm wondering if there is any secret technique for inserting a token
into an NSTokenField at the current cursor position.
I have already tried to code it myself and aborted as my code turned
out to be way too unreliable.
So before I spend another day trying to get it done myself I thought
It could also have been:
Word[1247]?[1235789]
or
Word[124578][13579]?
Conclusion:
Don't think a reliable solution for this can exist. It's just too few
information to detect the right pattern.
Even as a human being I'm actually not even 75% sure what's the right
pattern for th
On Jun 30, 2008, at 8:21 AM, Stephen Zyszkiewicz wrote:
Upcoming meetings:
Frankfurt, GER - Monday July 07, 2008 07:00 PM CET
- http://cocoaheads.org/de/Frankfurt/index.html
- http://upcoming.yahoo.com/event/857251
___
Cocoa-dev mailing list (Cocoa
When I mentioned "perl -pe 's/\b(.*?)/\u\L$1/g'" I actually wasn't
asking for any ObjC method with a look-alike syntax.
I actually wouldn't give a damn about "how" ("s///g") to pass a regex
pattern to a method. ;)
I was rather asking whether RegExKit (or even RegExKitLite?) would
generally
Right, but that's a very trivial string replacement with no advanced
modifications.
I had thing 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 wo
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
On May 27, 2008, at 10:25 PM, Wim Lewis wrote:
Have you looked at the examples that get installed with the
developer tools? In particular, under the "AppKit" subdirectory
there's the source to TextEdit and a simple drawing application
named Sketch, both of which are pretty good examples of