gergoerdosi (Gergo Erdosi)
- Login: gergoerdosi
- Email: gergo@gergoerdosi.com
- Registered on: 11/05/2013
- Last sign in: 10/06/2019
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
04/02/2014
-
10:34 PM Ruby Bug #9694: Bad regexp hangs ruby
- For some reason the regex is not displayed correctly. I'm able to reproduce the reported issue (see the correct regex below):
~~~
$ cat test.rb
str = ('a' * ARGV[0].to_i) + '?'
re = /(\w*)*$/
re.match(str)
$ time ruby test.rb 14...
11/05/2013
-
09:51 AM Ruby Bug #9081: Unexpected result for and opreator
- This isn't unexpected behavior. (({and})) and (({or})) are not boolean, but control flow operators. Execution stops when an operation returns (({nil})) or (({false})). Use (({&&})) or (({||})) for the desired behavior.