aboutsummaryrefslogtreecommitdiffstats
path: root/test/strscan
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-09 07:12:44 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-09 07:12:44 +0000
commit18d8fbac5484411bc7194c408edf0a3e17ea640d (patch)
tree004add4115b2e4bb10a0691ebd42f935baf6da53 /test/strscan
parenta44f38ff52e3d828173e0719bc27ef7a5f381cf4 (diff)
downloadruby-18d8fbac5484411bc7194c408edf0a3e17ea640d.tar.gz
* re.c (match_backref_number): new function for converting a backref
name/number to an integer. (match_offset): use match_backref_number. (match_begin): ditto. (match_end): ditto. (name_to_backref_number): raise IndexError instead of RuntimeError. (match_inspect): show capture index. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/strscan')
0 files changed, 0 insertions, 0 deletions