Remove regex

This removes unnecessary dependency on regex (gnurx), also fixes some bugs as:
```
{|:1|foo}
{c:|foo}
{c:1|foo}}
```