Is Python Regex group symbol ( ?: ) work in Ruby?

Hi,

I'm starting to learn Ruby and wondering if Python's Regex group (?:slight_smile:
symbol works in Ruby.
answer.

Thanks,
Sunny

···

From my experiments it seems like it does, but I'd like a conclusive

--
Posted via http://www.ruby-forum.com/.

···

On 09/19/2013 10:38 AM, Sunny DH wrote:

Hi,

I'm starting to learn Ruby and wondering if Python's Regex group (?:slight_smile:
symbol works in Ruby.
From my experiments it seems like it does, but I'd like a conclusive
answer.

Thanks,
Sunny

Thanks Justin! I found what I needed.

···

--
Posted via http://www.ruby-forum.com/.

I'm starting to learn Ruby and wondering if Python's Regex group (?:slight_smile:
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

···

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:

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Perhaps this site can help you:

http://rubular.com/

···

--
Posted via http://www.ruby-forum.com/.