I've built the following regex. This matches the function call fn-bea:uuid()
It obviously matches the function, but when integrating it into my java program:
xqueryFileContent.replaceAll("(fn\\-bea:uuid\\(\\))", "0"); the function is not replaced. Any ideas what I'm missing?
\\-is escaping-or if you want to match\-. Please clarify it by giving the exact string to replace it.fn-bea:uuid()with 0xqueryFileContent