[MacRuby-devel] Regexp possible bug

Matt Aimonetti mattaimonetti at gmail.com
Thu Jul 2 09:21:29 PDT 2009


Using the experimental branch is here what I get:

$ macruby -e 'puts ("aA0ƒz" =~ /\x41/).inspect'
=> 1

$ macruby -e 'puts ("aA0ƒz" =~ /z/).inspect'
5


- Matt


On Thu, Jul 2, 2009 at 3:45 AM, Renzo Borgatti <reborgml at gmail.com> wrote:

> Sorry, the AT was escaped, another similar example is:
> puts ("aA0ƒz" =~ /\x41/).inspect
>
> searching for the uppercase A.
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090702/d042d194/attachment.html>


More information about the MacRuby-devel mailing list