combine some repeated code
vim'd. 401 if no characters found
Merge branch 'feature/AllCharsGrant-Tidy' into feature/AllCharsGrant

Conflicts:
	brave/core/api/core.py