hello Ralph, Thank you for the whole explaination and links.
> method col:sym<quoted> ($_) { .make: S:g/'""'/"/ } i dug around it but missed it! arggh ... > > am I right when i feel there is a way to do this > > substitution inside the grammar > As I've shown, yes. But it draws you into the `$/` dance. The way I read you is "no" as i can't reassign inside a grammar. what i was expecting is to hack the grammar itself. something like replacing token col:sym<quoted> { '"' ~ '"' [ <( [ '""' | <-[\n"]> ]* )> ] } by something close to token col:sym<quoted> { '"' ~ '"' [ <( [ '""' { $0 = '"' } | <-[\n"]> ]* )> ] } anyway: thanks for the detailed explaination. your solution is really elegant marc