elasticsearch/elasticsearch — pull request #6615 by kmike (2014-06-25 17:19:22+00:00)
Title: DOC unescape regexes in Pattern Tokenizer docs

Currently regexes in Pattern Tokenizer docs are escaped (it seems according to Java rules). I think it is better not to escape them because JSON escaping should be automatic in client libraries, and string escaping depends on a client language used. The default pattern is `\W+`, not `\\W+`.