adding special threatment for regex values.
making the code a little bit more readable
as long as it doesnt have a special threatment doesnt make sense put a new condition to it
there is a syntax error here. peaplo are having issues with that example on stackoverflow
the correct param is exten not extension.
Merge pull request #13 from igorescobar/master

Fixing action command when using object with Regex values, readme example and syntax error.