General

Profile

mxposed (Nikolay Markov)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

04/03/2014

03:59 PM Ruby Bug #9694: Bad regexp hangs ruby
Rafael, i'm sorry, the bad regexp is not displaying properly, something is obviously wrong with my formatting. Gergo reproduced it same as i have it.
Urabe, do you know how Perl does that? Also, i'll be grateful for the link to regex...
mxposed (Nikolay Markov)

04/02/2014

09:36 AM Ruby Bug #9694 (Closed): Bad regexp hangs ruby
Here is an extracted problem i ran into recently:
~~~
$ cat test.rb
str = ('a' * ARGV[0].to_i) + '?'
re = /(\w*)*$/
re.match(str)
~~~
On few chars match returns quite fast, but here's what happens on 14 'a'-s and up:
~~~
$ t...
mxposed (Nikolay Markov)

Also available in: Atom