Closed rrthomas closed 6 months ago
Hey Reuben,
Sorry for the long wait! Many changes: I'm no longer with Fonto, but I'm still involved in development!
Got it: we use regular JS regexes here, which indeed output capture groups... I made a fix, which I'll PR shortly!
Kind regards,
Martin
Many thanks @DrRataplan!
I ran into this issue when the
functx:lines
function didn't seem to work for me, giving me an extra blank line after each line.But I can find a simple reproducer using an example from: https://www.altova.com/xpath-xquery-reference/fn-tokenize which says:
But with fontoxpath:
Output:
Looks like the captures are being incorrectly returned as part of the results of
tokenize
.