fixed the allable (^) flag modifier (closes #522)