Extraction rules
Rules are plain data, not code: each has a kind (text, attribute, structured, presence or count), a selector and an operator (equals, contains, matches or exists). The matches operator is a bounded glob pattern, not a regular expression. scan-extract runs the rules over retained page bodies with no network and no writes, so you can change a rule and run it again without recrawling. To preview CSS, XPath or regex extractors on HTML you paste in, use custom-extract-sample.
