Re: PatternTokenizer failure

2011-11-29 Thread Michael Kuhlmann
Am 29.11.2011 15:20, schrieb Erick Erickson: Hmmm, I tried this in straight Java, no Solr/Lucene involved and the behavior I'm seeing is that no example works if it has more than one whitespace character after the hyphen, including your failure example. I haven't lived inside regexes for long en

Re: PatternTokenizer failure

2011-11-29 Thread Erick Erickson
Hmmm, I tried this in straight Java, no Solr/Lucene involved and the behavior I'm seeing is that no example works if it has more than one whitespace character after the hyphen, including your failure example. I haven't lived inside regexes for long enough that I don't know what the right regex sho