Confusion with Atomic Grouping – how it differs from the Grouping in regular expression of Ruby?

A () has some properties (include those such as (?!pattern), (?=pattern), etc. and the plain (pattern)), but the common property between all of them is grouping, which makes the arbitrary pattern a single unit (unit is my own terminology), which is useful in repetition. The normal capturing (pattern) has the property of capturing and group. … Read more

ruby-debug with Ruby 1.9.3?

Update (April 28, 2012) Try the new debugger gem as a replacement for ruby-debug. (credit to @ryanb) Update (March 2, 2012) Installation of linecache19 and ruby-debug-base19 can be easily done with: bash < <(curl -L https://raw.github.com/gist/1333785) (credit to @fredostarr) Original answer Have you looked at ruby-debug19 on ruby-1.9.3-preview1? Here’s a temporary solution: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug Excerpt from … Read more