This fixes the lexer to correctly return :dregx, :string, :dregxend tokens instead of :/, :name, :/ for regexps with leading spaces preceeded by keywords, and adds support for parsing :match conditions for if, unless, while, and until keywords followed by regexps.
This fixes the lexer to correctly return
:dregx, :string, :dregxend
tokens instead of:/, :name, :/
for regexps with leading spaces preceeded by keywords, and adds support for parsing:match
conditions for if, unless, while, and until keywords followed by regexps.