W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2003

RE: ORA-FO-REPLACE-MATCH 7.5.3: fn:replace

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Tue, 1 Jul 2003 22:44:11 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DCFAA@daemsg02.software-ag.de>
To: Stephen Buxton <stephen.buxton@oracle.com>, public-qt-comments@w3.org
An ordinary qualifier (A*) matches the longest possible sequence of As. A
reluctant qualifier (A*?) matches the shortest possible sequence. This is
explained in 7.5.1, but an example of the effect of the rule on replace()
would not do any harm.
Michael Kay

-----Original Message-----
From: Stephen Buxton [mailto:stephen.buxton@oracle.com] 
Sent: 30 June 2003 18:38
To: public-qt-comments@w3.org
Subject: ORA-FO-REPLACE-MATCH 7.5.3: fn:replace 

Functions and Operators, Section 7.5.3: fn:replace <fn:replace>  
If multiple subsequences can be matched, is the largest one chosen, or the
smallest ? 

eg replace("AAAAAA", "A*", "B") - does this return "B" or "BBBBBB" ?
Received on Tuesday, 1 July 2003 16:44:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:48 UTC