Improved code dealing with fullregex internallly

CHG: improved code dealing with fullregex; no namespace check for
fullregex---not necessary