Moved non-greedy declaration on regexp for prevent pypy incoherent behavior