S
Simon Strandgaard
How does it work ?
I tried
assert_match(/bc/x, "ab cd")
But it fails...
ProgrammingRuby says:
EXTENDED Ignore spaces and newlines in regexp.
--
Simon Strandgaard
BTW: I am exercising Rubys regex engine, here:
http://rubyforge.org/cgi-bin/cvsweb.cgi/projects/experimental/nfa_to_dfa/tes
t_ruby_regex.rb?rev=1.7&content-type=text/x-cvsweb-markup&cvsroot=aeditor
I tried
assert_match(/bc/x, "ab cd")
But it fails...
ProgrammingRuby says:
EXTENDED Ignore spaces and newlines in regexp.
--
Simon Strandgaard
BTW: I am exercising Rubys regex engine, here:
http://rubyforge.org/cgi-bin/cvsweb.cgi/projects/experimental/nfa_to_dfa/tes
t_ruby_regex.rb?rev=1.7&content-type=text/x-cvsweb-markup&cvsroot=aeditor