updated ns prefix pattern to support prefixes containing a '-'