Project

General

Profile

Actions

Bug #3217

closed

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

Added by brixen (Brian Shirai) almost 14 years ago. Updated almost 13 years ago.

Status:
Rejected
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 1 (0 open1 closed)

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

Also available in: Atom PDF

Like0
Like0Like0Like0