elasticsearch/elasticsearch — pull request #7661 by dakrone (2014-09-09 14:24:54+00:00)
Title: Fix ordering of Regex.simpleMatch() parameters

Previously we incorrectly sent them in the wrong order, which can cause
validators not to be run for dynamic settings that have been added
matching a particular wildcard.

Also adds a small unit test that makes sure we fixed this behavior.

Fixes #7651