From 21ff8849bb7d4f1c277d767c7704eb63d8920cc7 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Fri, 15 Oct 2010 16:31:00 +0200 Subject: in regexps, the dot in a character class is not a metacharacter --- activesupport/bin/generate_tables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/bin') diff --git a/activesupport/bin/generate_tables b/activesupport/bin/generate_tables index 51edb59c77..7a4f840226 100644 --- a/activesupport/bin/generate_tables +++ b/activesupport/bin/generate_tables @@ -70,7 +70,7 @@ module ActiveSupport end def parse_grapheme_break_property(line) - if line =~ /^([0-9A-F\.]+)\s*;\s*([\w]+)\s*#/ + if line =~ /^([0-9A-F.]+)\s*;\s*([\w]+)\s*#/ type = $2.downcase.intern @ucd.boundary[type] ||= [] if $1.include? '..' -- cgit v1.2.3