Re: Inverse Regex Library?
Re: Inverse Regex Library?
- Subject: Re: Inverse Regex Library?
- From: Philip Mötteli <email@hidden>
- Date: Thu, 17 Jul 2008 21:49:48 +0200
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 (email@hidden)
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:
This email sent to email@hidden