From: Oliver L. <ol...@le...> - 2005-05-30 07:48:01
|
hi Kal, > 1) Why is the preparsing step required ? Is there something too complex for antlr to handle in there ? yepp, some ambigious parts of the AsTMa= grammar have been too complex, plus with regex it's easier to adopt changes of the AsTMa= syntax and it's even a bit faster ;-) > 2) If the preparsing step is really needed, could we use jakarta-regexp as the >regular expression library instead of jakarta-oro. It is just that jakarta-regexp is >already present in the TM4J distribution and I would prefer not to have two regular expression libraries in there! i tried to use jakarta-regex but AFAIK it isn't capable to substitute matched patterns, but jakarta-oro is. oliver |