Actions
Bug #7757
closedString#start_with? and end_with? should accept Regexp
Description
As suggested by Ilya in #5536, the following should work:
"hello".start_with? /h/ # => true, not a TypeError
Updated by marcandre (Marc-Andre Lafortune) almost 12 years ago
- Status changed from Open to Closed
Dupe, see #3388, sorry.
Need a ram upgrade.
Actions
Like0
Like0