Am 17.07.2008 um 20:57 schrieb Andy Lee:

On Jul 17, 2008, at 2:34 PM, Philip Mötteli wrote:
I'm actually in a lucky position, because

1. The strings are not complicated at all.

When you say they are not complicated, do you mean they are relatively short, or that there is some regularity to them that might reduce the problem from deriving a regex in the general case to something simpler? For example, if you're writing a file- renaming utility and you're looking for numbers within the file names, that's a simpler problem than the general case. Are you able to say what the regexes will be used for?

I try to analyze objects, that have been serialized using keyed encoding. As long as there are only simple values, I have no problem. But the members of too-many IVars are usually keyed by using something like "IVarName[0-9]+". I have to filter those out and classify as too-many. But I can't count on it. Not on the name nor where the number is. Or if there's a number. It could also be a letter.
So it should come very close to the file-renamer.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to