Hello, Im analyzing some text by using regular expressions in Ruby. Im wondering if there are any tools to make the analyzing of text files more convenient. I ran across a program called RegExBuddy (http://www.regexbuddy.com/ruby.html), and now Im wondering if it is useful. Please, if you have any experience with regular expressions and Ruby, then do share them. Also, any advice is welcome. Is there some package with some useful regular expression code snippets? Thanks in advance! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Kristen, What do you mean by "analyzing some text" ? You may look to http://www.regular-expressions.info/examples.html for some basic examples, like ip address, email, date. Jean-Etienne http://www.woa.hu -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jean-Etienne Durand wrote:> Kristen, > > What do you mean by "analyzing some text" ? > You may look to http://www.regular-expressions.info/examples.html for > some basic examples, like ip address, email, date. > > Jean-Etienne > http://www.woa.huThe text im analyzing is a Bill of Materials of a electronic device and basically I need to pull out some relevant data (its a .bom) file. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Kristen, > Im analyzing some text by using regular expressions in Ruby. Im > wondering if there are any tools to make the analyzing of text files > more convenient. If you are on Windows (or Mac+Parallels) give a look at this e-Texteditor screencast : http://www.e-texteditor.com/blog/2007/regular_expressions_tutorial You can paste the text to analyze and you get direct visual feedback when you build the regular expression. Alain Ravet -------- http://blog.ravet.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---