Project

General

Profile

Bug #1197 » regexp.rb

Mage (Péter Szabó), 02/23/2009 10:01 PM

 
#!/usr/bin/env ruby

# a regular expression sample file, posted by Mage

'a foobarfoobar foobarfoobar"'.scan(/^(([^"\n]*|"([^"]|"")+")+)($)/m)
    (1-1/1)