Also throw validation error if pattern can't be parsed. Basically we should get the example and parse it and make sure we got back what we expect. So someone can't rename all their files in a bad format and mess up their library.