[MacRuby] #1470: twitter-text regex compilation error
MacRuby
ruby-noreply at macosforge.org
Wed Feb 22 04:40:15 PST 2012
#1470: twitter-text regex compilation error
----------------------------------+-----------------------------------------
Reporter: iloveitaly@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone: MacRuby Later
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
The twitter-text gem doesn't seem to play well with macruby:
{{{
/Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/Gems/1.9.2/gems
/twitter-text-1.4.16/lib/regex.rb:286: regexp `
\A # Full URL
(?:
([^:/?#]+):// # $1 Scheme
)?
([^/?#]*) # $2 Authority
([^?#]*) # $3 Path
(?:
\?([^#]*) # $4 Query
)?
(?:
\#(.*) # $5 Fragment
)?\Z
' compilation error: U_REGEX_MISSING_CLOSE_BRACKET
SyntaxError: compile error
/Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/Gems/1.9.2/gems
/twitter-text-1.4.16/lib/twitter-text.rb:14:in `<main>'
}}}
My env:
{{{
$ macruby -v
MacRuby 0.11 (ruby 1.9.2) [universal-darwin10.0, x86_64]
}}}
Gem works fine with standard ruby 1.9.2.
Thanks for all your hard work on MacRuby!
--
Ticket URL: <http://www.macruby.org/trac/ticket/1470>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list