Ognian, YARR is the regular expression engine for the JavaScriptCore part of webkit. It can find the matches, but you would need to write other C++ code to do the replacement. The String.replace() method will do what you want in JavaScript.
- Michael On Jan 3, 2013, at 4:16 AM, Ognian Milanov <[email protected]> wrote: > Hello! I need info how to use YARR to replace all matches of a given regular > expression in a string with another string. For example in Java this is > achieved by String.replaceAll method. > > I will appreciate if someone leads me to the solution, thanks! > _______________________________________________ > webkit-dev mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo/webkit-dev _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-dev

