← Back to team overview

zorba-coders team mailing list archive

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

 

Well, it's not ignored entirely. It just doesn't take it into
consideration for the replacement string.

** Project changed: sausalito => zorba

** Changed in: zorba
    Milestone: None => 2.7

** Visibility changed to: Public

** Branch linked: lp:~paul-lucas/zorba/bug-1026379

** Changed in: zorba
       Status: New => In Progress

** Summary changed:

- "q" flag for replace is ignored
+ "q" flag for fn:replace() is ignored

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

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

Status in Zorba - The XQuery Processor:
  In Progress

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