You are here

constant FACETAPI_REGEX_DATE_RANGE in Facet API 7

Same name and namespace in other branches
  1. 6.3 facetapi.module \FACETAPI_REGEX_DATE_RANGE
  2. 6 facetapi.module \FACETAPI_REGEX_DATE_RANGE
  3. 7.2 facetapi.module \FACETAPI_REGEX_DATE_RANGE

Regex pattern for date ranges.

1 use of FACETAPI_REGEX_DATE_RANGE
FacetapiQueryTypeDate::extract in plugins/facetapi/query_type.inc
Overrides FacetapiQueryType::extract().

File

./facetapi.module, line 66
An abstracted facet API that can be used by various search backends.

Code

define('FACETAPI_REGEX_DATE_RANGE', '/^\\[(' . trim(FACETAPI_REGEX_DATE, '/^$') . ') TO (' . trim(FACETAPI_REGEX_DATE, '/^$') . ')\\]$/');