Hi,
you are right. Command.replace() is simpler and seems to work on string
literals. As I understood the documentation, you should also remove the \\Q and
\\E since this is regex specific.
Cheers,
Markus
> Hello again,
>
> I think it should probably be
>
> command = command.replace("\\Q%%" + cur + "%%\\E", tags.get(cur));
>
> not replaceAll.
>
> Alan
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/