Cleaner implementation with a single regex
Added documentation of new method 'isAppropriate'
Version bump