Hi, I'm starting to learn Ruby and wondering if Python's Regex group (?:) symbol works in Ruby. From my experiments it seems like it does, but I'd like a conclusive answer. Thanks, Sunny
on 2013-09-19 19:38
on 2013-09-19 19:48

On 09/19/2013 10:38 AM, Sunny DH wrote: > Hi, > > I'm starting to learn Ruby and wondering if Python's Regex group (?:) > symbol works in Ruby. > From my experiments it seems like it does, but I'd like a conclusive > answer. > > Thanks, > Sunny > http://www.ruby-doc.org/core-2.0.0/Regexp.html#lab...
on 2013-09-19 20:00
Thanks Justin! I found what I needed.
on 2013-09-20 09:57

On Thu, Sep 19, 2013 at 7:47 PM, Justin Collins <justincollins@ucla.edu> wrote: > On 09/19/2013 10:38 AM, Sunny DH wrote: >> I'm starting to learn Ruby and wondering if Python's Regex group (?:) >> symbol works in Ruby. That is not particular to Python. The proper term would be "non capturing group". >> From my experiments it seems like it does, but I'd like a conclusive >> answer. http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt Kind regards robert