Hi.

2017-01-20 16:15 GMT+01:00 Peter Uhnak <i.uh...@gmail.com>:

> In Ruby it is dead simple:
> str[/\[(.*)\]/,1].hex # "=> 37"
>

I always wondering when people think it is dead simple.
I use streams for such cases. It is logical, readable and dead simple
approach without crappy syntax. And with Xtreams library it become much
more easy and fun

Reply via email to