--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the number of backreferencing subexpressions.
- !ruby/struct:SM::Flow::VERB 
  body: "  /(a)(b)(c)/.arity  #=&gt; 3\n  /(a(b(c)))/.arity  #=&gt; 3\n"
- !ruby/struct:SM::Flow::P 
  body: Note that this is not perfect, especially with regards to \x and embedded comments.
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Trans"
full_name: Regexp#arity
is_singleton: false
name: arity
params: ()
visibility: public
