So it's a nice reason to merge it:)

https://gist.github.com/d0rc/8888358 <-- test shows new method is twice as fast comparing to regex