Project

General

Profile

Bug #3217

Regexp fails to match string with '<' when encoding is UTF-8

Added by brixen (Brian Shirai) over 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2010-04-28 trunk 27536) [i386-darwin9.8.0]
Backport:
[ruby-core:29864]

Description

=begin
Hi,

There is an issue matching a string like "a b c d<" when the encoding of the file is set to UTF-8 and the regexp is attempting to match 'something'. Afaik, *< is not special in the encoding.

This gist illustrates the issue:

http://gist.github.com/382510

Thanks,
Brian
=end


Related issues

Has duplicate Backport191 - Bug #3386: Inconsistent regexp punct class matching behavior between UTF-8 and ASCII encodingsRejected06/04/2010Actions

Also available in: Atom PDF