Minor fixes for ALPHA-CHAR-P

* The export was missing
* A typo in the second condition stopped it working on capital letters