alias Filter

Alias Definition

Zap::Workspaces::Filter

Defined in:

workspaces/filter._spec.cr

Constant Summary

EXCLUDE = /(?P<exclude>!)/
GLOB = /(#{GLOB_CURLY}|#{GLOB_RELATIVE})/
GLOB_CURLY = /\{(?P<glob>[^}]+)\}/
GLOB_RELATIVE = /\.\/(?P<glob>[^{}[\]]+)/
PATTERN = /^#{EXCLUDE}?#{PREFIX}?#{SCOPE}?#{GLOB}?#{SINCE}?#{SUFFIX}?$/
PREFIX = /(?P<prefix>\.\.\.\^?)/
SCOPE = /(?P<scope>[^.][^(?!\.\.\.|^\.\.\.){}[\]]*)/
SINCE = /(\[(?P<since>[^\]]+)\])/
SUFFIX = /(?P<suffix>\^?\.\.\.)/