Hi, Sorry if this is already discussed somewhere but after a trawl through this forum I couldn''t find what the state of play is with regular expression support in IronRuby. I took a look at the IronRuby.Libraries assembly and saw the comment below so I''ve hazarded a guess the guts of regular expression support for IronRuby is still on the ToDo list? In which case it will be a while before the /^.+/ constructs can be used? "// TODO: this implementation is totally wrong, but this is a placeholder for a couple of weeks until // jomes gets a real implementation of regex. This is only here to enable the spec running harness." Regards, Aaron -- Posted via http://www.ruby-forum.com/.
I was able to get a JSON parser working in IronRuby, and that heavily relies on Regex support. http://jimmy.schementi.com/blog/2008/03/parsing-json-in-ironruby.html. On 3/25/08 5:56 PM, "Aaron Clauson" <lists at ruby-forum.com> wrote: Hi, Sorry if this is already discussed somewhere but after a trawl through this forum I couldn''t find what the state of play is with regular expression support in IronRuby. I took a look at the IronRuby.Libraries assembly and saw the comment below so I''ve hazarded a guess the guts of regular expression support for IronRuby is still on the ToDo list? In which case it will be a while before the /^.+/ constructs can be used? "// TODO: this implementation is totally wrong, but this is a placeholder for a couple of weeks until // jomes gets a real implementation of regex. This is only here to enable the spec running harness." Regards, Aaron -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080325/1d95634a/attachment.html
Yes, it''s still on todo list. It''s right after ''eval''. Tomas -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Aaron Clauson Sent: Tuesday, March 25, 2008 5:56 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Regular Expressions Hi, Sorry if this is already discussed somewhere but after a trawl through this forum I couldn''t find what the state of play is with regular expression support in IronRuby. I took a look at the IronRuby.Libraries assembly and saw the comment below so I''ve hazarded a guess the guts of regular expression support for IronRuby is still on the ToDo list? In which case it will be a while before the /^.+/ constructs can be used? "// TODO: this implementation is totally wrong, but this is a placeholder for a couple of weeks until // jomes gets a real implementation of regex. This is only here to enable the spec running harness." Regards, Aaron -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core