[MacRuby] #1376: C API should include RREGEXP

MacRuby ruby-noreply at macosforge.org
Tue Aug 9 14:16:26 PDT 2011


#1376: C API should include RREGEXP
----------------------------+-----------------------------------------------
 Reporter:  kyle@…          |       Owner:  lsansonetti@…        
     Type:  defect          |      Status:  new                  
 Priority:  major           |   Milestone:                       
Component:  MacRuby         |    Keywords:                       
----------------------------+-----------------------------------------------
 The standard Ruby C API includes a macro, RREGEXP, which provides access
 to the source and options strings of a given Ruby regular expression.

 In addition, sometimes RREGEXP_SRC is defined, and it returns a Ruby
 string object.

 RREGEXP_OPTIONS is also often defined, and it returns a long integer.

 Is there any way that these macros can be made part of the public C API so
 that C extensions that work with other Ruby implementations will also work
 with MacRuby?

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1376>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list