Fixed Patter check
Merge pull request #19 from eusonlito/master

Fixed Pattern attribute