((#\B) (output-expr '(not-word-bound)))
((#\`) (output-expr '(string-start)))
((#\') (output-expr '(string-end)))
- ((#\w) (output-expr '(legacy-char-syntax #\w)))
- ((#\W) (output-expr '(inverse-legacy-char-syntax #\w)))
+ ((#\w) (output-expr '(char-set whitespace)))
+ ((#\W) (output-expr '(inverse-char-set whitespace)))
((#\s) (output-expr `(legacy-char-syntax ,(get-next))))
((#\S) (output-expr `(inverse-legacy-char-syntax ,(get-next))))
((#\() (start-group))