hi, the proposal is intetesting, maybe not so simple to implement, however, I've a doubt about the syntax, how about using : instead of 2 ? i.e. : %(from:[to]|[from]:to)q where a missing from or to means literal, a single letter (RGEX...) would be sufficient...
PS: sorry for posting the wrong way, but I've no choise using a tablet...Roland Mainz <[email protected]> a écrit :On Fri, Jun 15, 2012 at 10:59 PM, Josh Hurst <[email protected]> wrote: Erm... we can have the cake and eat it too... :-) My proposal would be likt this: 1. %(foo)q, e.g. operations with a single word ("foo" in this case) define plain quoting operations to quote the given string to make it's meaning "literal", e.g. all characters which may be special in the target syntax are escaped/quoted. These operations do not throw any errors regardless what's being fed in 2. %(foo2bar)q, e.g. operations with two worlds with a "2" in the middle define conversion operations (from/to), e.g. from egrep syntax to shell shell pattern expressions would be "egrep2shellre". Conversion operations are allowed to trigger errors David... what do you think ?
_______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
