RE: MS-FO-LC1-047: 7.5.2 fn:matches

Setting the flag to "m" (multi-line mode) means that each line is considered
separately, so ^ and $ match the end of a line. In the absence of this flag,
the entire string is considered as a single unit.

This may be confusing, but it is exactly how multi-line mode works in Java
and in Perl.

Michael Kay


> -----Original Message-----
> From: Michael Rys [mailto:mrys@microsoft.com] 
> Sent: 02 July 2003 01:53
> To: Kay, Michael; public-qt-comments@w3.org
> Subject: RE: MS-FO-LC1-047: 7.5.2 fn:matches
> 
> 
> The first one is within a line, but the strings are 
> distributed over two lines. 
> 
> The second one is using the multi-line option, so it should 
> find it, but it currently returns true. Etc.
> 
> Either the examples are wrong or the description of multiline 
> matching is confusing.
> 
> Best regards
> Michael
> 
> > -----Original Message-----
> > From: Kay, Michael [mailto:Michael.Kay@softwareag.com]
> > Sent: Tuesday, July 01, 2003 13:44 PM
> > To: Michael Rys; public-qt-comments@w3.org
> > Subject: RE: MS-FO-LC1-047: 7.5.2 fn:matches
> > 
> > > -----Original Message-----
> > > From: Michael Rys [mailto:mrys@microsoft.com]
> > > Sent: 01 July 2003 03:02
> > > To: public-qt-comments@w3.org
> > > Subject: MS-FO-LC1-047: 7.5.2 fn:matches
> > >
> > >
> > >
> > > Class: Editorial
> > >
> > > Examples seem to be wrong: first is false, second is true, 4th is
> true
> > >
> > 
> > Are you referring to the examples associated with the Wilhelm Busch 
> > stanza?
> > 
> > I believe these examples are correct, why do you think they 
> are wrong?
> > 
> > Michael Kay
> 

Received on Wednesday, 2 July 2003 09:19:03 UTC