Debian Codegraph @

%3a115/regexp/boundary.sls

raw
1 ;; Character sets for Unicode boundaries, TR29.
2 ;; This code is written by Alex Shinn and placed in the
3 ;; Public Domain. All warranties are disclaimed.
4
5 ;;> Char-sets used for
6 ;;> \hyperlink["http://unicode.org/reports/tr29/"]{TR29} word
7 ;;> boundaries.
8
9 ;; Converted from lib/chibi/char-set/boundary.sld to R6RS by Göran Weinholt.
10
11 (library (srfi :115 regexp boundary)
12 (export char-set:regional-indicator
13 char-set:extend-or-spacing-mark
14 char-set:hangul-l
15 char-set:hangul-v
16 char-set:hangul-t
17 char-set:hangul-lv
18 char-set:hangul-lvt)
19 (import (rnrs)
20 (srfi :14 char-sets)
21 (srfi private include))
22 (define (immutable-char-set cs) cs)
23 ;; generated with:
24 ;; tools/extract-unicode-props.scm --derived GraphemeBreakProperty.txt
25 ;; Control extend-or-spacing-mark=Extend,SpacingMark Regional_Indicator
26 ;; hangul-l=:L hangul-v=:V hangul-t=:T hangul-lv=:LV hangul-lvt=:LVT
27 (include/resolve ("srfi" "%3a115" "regexp") "boundary-impl.scm"))