diff options
author | Xavier Noria <fxn@hashref.com> | 2010-10-15 16:31:00 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-10-15 16:31:00 +0200 |
commit | 21ff8849bb7d4f1c277d767c7704eb63d8920cc7 (patch) | |
tree | 5e6b8d278ef14d0ab0089238bbce61bad5423b32 /activesupport/bin | |
parent | c42ea2172eb977538cda076942d69eb90e090a26 (diff) | |
download | rails-21ff8849bb7d4f1c277d767c7704eb63d8920cc7.tar.gz rails-21ff8849bb7d4f1c277d767c7704eb63d8920cc7.tar.bz2 rails-21ff8849bb7d4f1c277d767c7704eb63d8920cc7.zip |
in regexps, the dot in a character class is not a metacharacter
Diffstat (limited to 'activesupport/bin')
-rw-r--r-- | activesupport/bin/generate_tables | 2 |
1 files changed, 1 insertions, 1 deletions
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? '..' |