This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There was introduced new API in editor.utilities for string escape. You can see in Bug #223389. There is a class cnd.navigation/src/org/netbeans/modules/cnd/navigation/callgraph/FunctionImpl.java that do same as own implementation. You can consider use StringEscapeUtils, or close this as won't fix.
thanks, Milutin. We'll have a look.