- From: Liam Quin <liam@w3.org>
- Date: Wed, 2 Jul 2003 11:02:43 -0400
- To: Jeni Tennison <jeni@jenitennison.com>
- Cc: Michael Rys <mrys@microsoft.com>, "Kay, Michael" <Michael.Kay@softwareag.com>, public-qt-comments@w3.org
On Wed, Jul 02, 2003 at 10:05:20AM +0100, Jeni Tennison wrote: > The first example: > fn:matches(., "Kaum.*krähen") > is in string mode, so the metacharacter . matches any character > whatsoever, including newline (Hx0A) characters. [...] > The second example: > > fn:matches(., "Kaum.*krähen", 'm') > > is in multiline mode, so the metacharacter . matches any character > aside from newline (Hx0A) characters. This seems to be exactly the opposite of the "m" modifier in Perl 5. Is there a reason for this incompatibility? It's very confusing. If there's a de facto standard for modifying regexp's for multiline matches, it's surely Perl. Liam -- Liam Quin, W3C XML Activity Lead, liam@w3.org, http://www.w3.org/People/Quin/
Received on Wednesday, 2 July 2003 11:02:49 UTC