use crate;
use Regex;
/// Create a regex pattern item. The pattern is matched case-insensitively
/// against the original document text.
/// Create a dimension pattern item that matches any token of the given dimension.
/// Create a predicate pattern item with a custom matching function.