GNOME Bugzilla – Bug 754961
Support regular expressions for fn:replace()
Last modified: 2016-05-08 17:47:44 UTC
The support of regular expressions for fn:replace() would open new possibilities. (http://www.w3.org/TR/xpath-functions/#func-replace) f.e. this bug (https://bugzilla.gnome.org/show_bug.cgi?id=742531) of gnome-music could be easily solved.
Created attachment 311241 [details] [review] Implementation for the regular expression support. Proposal for the implementation.
Created attachment 311243 [details] [review] Test cases for the fn:replace() function. Adds five test cases.
Thanks for the patches! I pushed those to master/1.9 with some minor refactors and leak fixes.