Hi matz and all, Here's the simple (!?) first Q's: * Can you give a regexp for tDXSTRING? If not can you give a context-free grammar? If not can you describe what you want? ;-) * Same as above for tDREGEXP? * What different types of string tokens are there? Which one covers "here documents"? More to come... Regards, Robert