Documentation
¶
Overview ¶
Package regexlit defines clover's /regex/ literal syntax: a value bracketed by slashes is a regular expression, anything else is not. It is the single source of truth shared by the directive grammar (which parses and renders such values) and the pattern engine (which compiles them), so the two can never disagree on what counts as a regex.
Index ¶
Constants ¶
View Source
const Delim = '/'
Delim opens and closes a regex literal. Slashes are used for sed/perl familiarity, chosen over a re: prefix.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.