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

RE: MS-FO-LC1-049: 7.5.4 fn:tokenize

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Tue, 1 Jul 2003 22:44:01 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DCFA1@daemsg02.software-ag.de>
To: Michael Rys <mrys@microsoft.com>, public-qt-comments@w3.org

> Class: Editorial
> If I match (a)|(ab), should that not match the longest one as well?

"Longest match" would be a viable alternative to "first match", but there is
no obvious right answer. We chose "first match" in the belief that this was
the more common approach in other regex specifications, but if you have
evidence to the contrary, please let us know.

Michael Kay
Received on Tuesday, 1 July 2003 16:44:11 UTC

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