lib/roda/plugins/params_capturing.rb
def _match_string(str)
          cap_len = @captures.length

          if (ret = super) && (pc = @_params_captures) && (cap_len != @captures.length)
            # Handle use with placeholder_string_matchers plugin
            pc.concat(str.scan(/(?<=:)\w+/))
          end

          ret
        end
# Add the capture names from this string to list of param
# capture names if param capturing.
Add the capture names from this string to list of param
capture names if param capturing.
Add the capture names from this string to list of param capture names if param capturing .
def _match_string(str)
          cap_len = @captures.length
          if (ret = super) && (pc = @_params_captures) && (cap_len != @captures.length)
            pc.concat(str.scan(/(?<=:)\w+/))
          end
          ret
        end
def _match_string ( str ) cap_len = @captures . length if ( ret = super ) && ( pc = @_params_captures ) && ( cap_len != @captures . length ) pc . concat ( str . scan ( / (?<=:) \w + / ) ) end ret end
Add the capture names from this string to list of param
capture names if param capturing.
Add the capture names from this string to list of param capture names if param capturing .
# Handle use with placeholder_string_matchers plugin
str