Enhance the :requirements functionality in #map() to allow regexps with capturing...
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 2 Feb 2007 23:48:47 +0000 (23:48 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 2 Feb 2007 23:48:47 +0000 (23:48 +0000)
commit3fb12ca2c704d18d434b417d549122325e78225d
treeb886c678f93853d5e0c344cf147bd537de9498b6
parent76e30fe50d52f22459954f2d93ed3621aaef267d
Enhance the :requirements functionality in #map() to allow regexps with capturing groups: the first non-nil capture will be passed on as the corresponding parameter value, instead of the whole matched expression. See ChangeLog and documented source for details.
ChangeLog
lib/rbot/messagemapper.rb