We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all,
I'm using the RealView MDK-ARM with the RealView Realtime Libary. At the moment I'm working on building a small embedded webpage for the MCB2300.
Everything works fine, but the fcarm tool used to create the small filesystem that holds the files for the webserver, might need an improvement.
I have the problem that I'm using javascript in the HTML files. So have lines off text with backslashes like:
... t if(ValueString.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}&/ t { t alert("IP matches format\n"); t } t else t { t alert("IP doesn't matches format\n"); t } ...
The fcarm already maskerades the " with \". But it doesn't do it with \. So I have to mask the \ manually with \\ like in the following example.
... t if(ValueString.match(/^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}&/ t { t alert("IP matches format\\n"); t } t else t { t alert("IP doesn't matches format\\n"); t } ...
I think such an improvment would be easy to implement. Why isn't it already implemented?
Rainer
We have fixed this problem. The fix will be available in the next RL-ARM release. If you need a fix now, please send an email to Keil support.
Franc