W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2012

Behavior of $ in regular expressions

From: Paul J. Lucas <paul@lucasmail.org>
Date: Mon, 24 Sep 2012 16:51:49 -0700
Message-Id: <AE9453F7-2C8A-405A-B026-11B98E835EBE@lucasmail.org>
To: public-qt-comments@w3.org
The following tests from the FOTS:

	fn-matches-41:
	fn:matches( concat( 'Mary', codepoints-to-string(10) ), 'Mary$' )

	fn-matches-42:
	fn:matches( concat( 'Mary', codepoints-to-string(10) ), 'Mary$', 's' )

are listed as returning "false" for the correct answer.  Why?  This doesn't work the way, for example, ICU's regular expressions work; see:

	http://stackoverflow.com/questions/12566811/

- Paul
Received on Monday, 24 September 2012 23:56:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:39 UTC