Merge pull request #95 from ojak/master

Fixed typo that caused n't to be tagged as a Word rather than an Enclitic
This commit is contained in:
Louis Mullie 2015-02-26 14:12:17 -05:00
commit 3992f2c177
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module Treat::Entities::Entity::Buildable
PunctRegexp = /^[[:punct:]\$]+$/
UriRegexp = /^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$/ix
EmailRegexp = /.+\@.+\..+/
Enclitics = %w['ll 'm 're 's 't 've 'nt]
Enclitics = %w['ll 'm 're 's 't 've n't]
# Accepted formats of serialized files
AcceptedFormats = ['.xml', '.yml', '.yaml', '.mongo']