Regexp.new("...", nil, "n") is not documented
While fixing the error messages for the number of parameters ( r27558 ), I noticed that Regexp.new accepts a third undocumented parameter.
Is it supported? If so it should be documented.
I also note that test_regexp.rb tests for the third parameter being "u", even though this has no effect. Maybe these tests should be removed?
Updated by mame (Yusuke Endoh) over 9 years ago
- Assignee set to marcandre (Marc-Andre Lafortune)
As Shyouhei said, the argument is ignored. It left just for 1.8
Could you please add the fact into rdoc of Regexp#new and close
Yusuke Endoh email@example.com