You are here

constant FACETAPI_REGEX_DATE_RANGE in Facet API 6.3

Same name and namespace in other branches
  1. 6 facetapi.module \FACETAPI_REGEX_DATE_RANGE
  2. 7.2 facetapi.module \FACETAPI_REGEX_DATE_RANGE
  3. 7 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
Parses the start and end values for the date.

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, '/^$') . ')\\]$/');