From haverty.peter at gene.com  Mon May  9 18:47:48 2016
From: haverty.peter at gene.com (Peter Haverty)
Date: Mon, 9 May 2016 09:47:48 -0700
Subject: [Rd] Regression in match() in R 3.3.0 when matching strings
 with different character encodings
In-Reply-To: <57309999.4050302@ivt.baug.ethz.ch>
References: <57309999.4050302@ivt.baug.ethz.ch>
Message-ID: <CAGh0NYpi3fEc70szuKFRMhbuhx=TrGMt0QfCcgWBFHVDz9GbcQ@mail.gmail.com>

Dear Kirill,

You are correct, that is a new bug introduced in PR16491. The appropriate
fix and regression tests have been added via PR16885, which has been merged
into trunk. I believe that means the fix will be released with R 3.3.1.

I checked your example and the second "match" now properly returns 1 with
the patched code.

Please have a look at
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16885
http://developer.r-project.org/blosxom.cgi/R-devel/NEWS

Thank you for your report. I hope the benefits of this speedup will
eventually outweigh this unfortunate bug in my PR16491.

Regards,

Pete

____________________
Peter M. Haverty, Ph.D.

	[[alternative HTML version deleted]]



[Rd] Regression in match() in R 3.3.0 when matching strings with different character encodings
Peter Haverty