hi xtext experts,
i am new to xtext and still learning a lot of things.
my problem is
in my grammar i have a function that replaces strings in string (like the java replaceall function)
the grammar should work with "normal" regular expressions.
so in the eclipse editor and saved file no java escaping should exist.
example:
REPLACEALL("2012.03.16","\.","")
should then result in 20120316 but is invalid in the editor window
my problem with the eclipse xtext integration is that i cannot enter non java escaped strings in the editor
only REPLACEALL("2012.03.16","\\.","")
is correct for the editor.
so is there a way for deactivating this behaviour (overwrite terminal def, or create a stringvalueconverter) or changing the save/loadfile behavior (converting escape sequences when loading/saving).
any hints/ideas/sollutions
regards
joe