extend isascii() to strings like other character predicates. ref #4586