Enhanced the namespace parser with regex
Using findall instead match and added tests