Friday, July 16, 2004 06:02 AM
I want to parse the string contents of fields of a table INDIVIDUALLY, e.g. fields like "IP address", "Phone Number", "UserID". My table has 30+ fields, most of them differ in syntax.
The grammar could look like this:
field: ip | phone | userid ;
I considered multiple grammers (one per field, probably very inefficient in terms of space), semantic predicates (although not sure, how to do this exactly).
Any suggestions are much appreciated.