Using named group regex framework (due to android limitation).