Re: Regex to match one of two words

2013-10-08 Thread Walter Underwood
Or a boolean field for published, with false meaning deprecated. wunder On Oct 8, 2013, at 3:42 AM, Jack Krupansky wrote: > Why use regular expressions at all? > > Try: > > published OR deprecated > > -- Jack Krupansky > > -Original Message- From: Dinusha Dilrukshi > Sent: Tuesday, O

Re: Regex to match one of two words

2013-10-08 Thread Jack Krupansky
Why use regular expressions at all? Try: published OR deprecated -- Jack Krupansky -Original Message- From: Dinusha Dilrukshi Sent: Tuesday, October 08, 2013 3:32 AM To: solr-user@lucene.apache.org Subject: Regex to match one of two words I have an input that can have only 2 values