public InputOptions setAllowedChars(final String allowedChars) {
            this.allowedChars = allowedChars;
            return this;
        }
if non-null, then only chars passing this regex pattern will be allowed to enter
main/src/main/java/cgeo/geocaching/ui/dialog/SimpleDialog.java