avyy (Alexander Yunin)
- Login: avyy
- Email: use.skills@gmail.com
- Registered on: 04/02/2013
- Last sign in: 05/15/2015
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
09/04/2013
-
09:58 PM Ruby Bug #8205: Regexp.union behavior and Regexp.try_convert
- Hello,
Bug description is incorrect, sorry. Now i want to say that implementation of String#to_regexp can breaks behavior of Regexp::union.
class String
def to_regexp
/regexp/
end
end
Regexp.union('/some_regexp/') #=>...
04/02/2013
-
11:21 PM Ruby Bug #8205 (Closed): Regexp.union behavior and Regexp.try_convert
- Hi! Why Regexp.union('/../') trying to convert string with directly call rb_check_regexp_type(arg) (re.c:3139) instead of rb_reg_s_try_convert (re.c:3122)? I think second variant would be more correct, and i would be able to rewrite Rege...