From e119f31a7df27f93f9fad59438be8013008b5d90 Mon Sep 17 00:00:00 2001 From: Pete Hopkins Date: Tue, 6 Mar 2012 11:46:00 -0500 Subject: [PATCH 1/3] Updates submodule --- test/twitter-text-conformance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/twitter-text-conformance b/test/twitter-text-conformance index 17b101d..de83c53 160000 --- a/test/twitter-text-conformance +++ b/test/twitter-text-conformance @@ -1 +1 @@ -Subproject commit 17b101d33d6a1d052e0a42f8f67c8762bb9258d9 +Subproject commit de83c5336101bb534cac8fdbd61ca1b8f6b10821 From ec9e0991720688ecd27034bc2058acd281a08c3d Mon Sep 17 00:00:00 2001 From: Pete Hopkins Date: Wed, 7 Mar 2012 16:17:20 -0500 Subject: [PATCH 2/3] Fixes for #dodge/#answer test case --- lib/regex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/regex.rb b/lib/regex.rb index 233c04a..68d0e8a 100644 --- a/lib/regex.rb +++ b/lib/regex.rb @@ -147,7 +147,7 @@ def self.regex_range(from, to = nil) # :nodoc: # A hashtag must contain latin characters, numbers and underscores, but not all numbers. HASHTAG_ALPHA = /[a-z_#{LATIN_ACCENTS}#{NON_LATIN_HASHTAG_CHARS}#{CJ_HASHTAG_CHARACTERS}]/io HASHTAG_ALPHANUMERIC = /[a-z0-9_#{LATIN_ACCENTS}#{NON_LATIN_HASHTAG_CHARS}#{CJ_HASHTAG_CHARACTERS}]/io - HASHTAG_BOUNDARY = /\A|\z|[^&\/a-z0-9_#{LATIN_ACCENTS}#{NON_LATIN_HASHTAG_CHARS}#{CJ_HASHTAG_CHARACTERS}]/o + HASHTAG_BOUNDARY = /\A|\z|[^&a-z0-9_#{LATIN_ACCENTS}#{NON_LATIN_HASHTAG_CHARS}#{CJ_HASHTAG_CHARACTERS}]/o HASHTAG = /(#{HASHTAG_BOUNDARY})(#|#)(#{HASHTAG_ALPHANUMERIC}*#{HASHTAG_ALPHA}#{HASHTAG_ALPHANUMERIC}*)/io From 8fc6e1fe4b99f9becdc2216d77880dae98993404 Mon Sep 17 00:00:00 2001 From: Pete Hopkins Date: Thu, 8 Mar 2012 12:04:39 -0500 Subject: [PATCH 3/3] Updates submodule --- test/twitter-text-conformance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/twitter-text-conformance b/test/twitter-text-conformance index de83c53..7d28394 160000 --- a/test/twitter-text-conformance +++ b/test/twitter-text-conformance @@ -1 +1 @@ -Subproject commit de83c5336101bb534cac8fdbd61ca1b8f6b10821 +Subproject commit 7d28394ecdd42725b24eb8b0c64c9a0dba24e746