a 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 Published or Deprecated. What
> regular expression can I use to ensure that either of the two words
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
I have an input that can have only 2 values Published or Deprecated. What
regular expression can I use to ensure that either of the two words was
submitted?
I tried with different regular expressions (as in the [1], [2]) that
contains most generic syntax.. But Solar throws parser exception when
va