7 (defmacro ew-scan-unstructured (scan col str)
8 `(let ((res (ew-make-anchor col str))
16 ([" \t"] (ew-add-frag res r p 'ew:us-wsp-tok))
17 (((* [^ " \t\r"]) (* (+ ?\r) [^ " \t\r\n"] (* [^ " \t\r"])) (* ?\r)
20 (ew-add-frag res r (- p 3) 'ew:us-texts-tok)
22 (ew-add-frag res r p 'ew:us-fold-tok))
23 (((* [^ " \t\r"]) (* (+ ?\r) [^ " \t\r\n"] (* [^ " \t\r"])) (* ?\r)
26 (ew-add-frag res r (- p 3) 'ew:us-texts-tok)
28 (ew-add-frag res r (setq p q) 'ew:err-tok))
29 (((* [^ " \t\r"]) (* (+ ?\r) [^ " \t\r\n"] (* [^ " \t\r"])) (* ?\r))
31 (ew-add-frag res r p 'ew:us-texts-tok)
32 (ew-add-frag res r (setq p q) 'ew:err-tok)))))
36 (defun ew-scan-unibyte-unstructured (col str)
37 (ew-scan-unstructured lex-scan-unibyte col str))
38 (defun ew-scan-multibyte-unstructured (col str)
39 (ew-scan-unstructured lex-scan-multibyte col str))
44 (lambda (frag) (cons (get frag 'type) (symbol-name frag)))
46 (ew-scan-unibyte-unstructured
47 0 " Hello! =?US-ASCII?Q?Hello!?="))))
51 (lambda (frag) (cons (get frag 'type) (symbol-name frag)))
53 (ew-scan-unibyte-unstructured