← Back to team overview

zorba-coders team mailing list archive

[Bug 1026379] Re: "q" flag for fn:replace() is ignored

 

** Changed in: zorba
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1026379

Title:
  "q" flag for fn:replace() is ignored

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  In the following query, the "q" flag should cause the "$" in the
  replacement string to become legal.

  replace("foo", "f", "$", "q")

  5.6.3 fn:replace in F&O

  Unless the q flag is used, a literal $ character within the
  replacement string must be written as \$, and a literal \ character
  must be written as \\.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1026379/+subscriptions