diff options
author | bptato <nincsnevem662@gmail.com> | 2022-07-23 16:54:02 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-07-23 17:39:06 +0200 |
commit | e7b53775a3f52cb5d8da865213c5dc38b954e33c (patch) | |
tree | 200741f8ed965f407c1a6af8823705db133bf3d4 /src/bindings/libregexp.nim | |
parent | c7f25b2fe470849e028f9502d3da0851f149f065 (diff) | |
download | chawan-e7b53775a3f52cb5d8da865213c5dc38b954e33c.tar.gz |
Improved incremental search: support unicode
Diffstat (limited to 'src/bindings/libregexp.nim')
-rw-r--r-- | src/bindings/libregexp.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/libregexp.nim b/src/bindings/libregexp.nim index 1b84400e..e0a05543 100644 --- a/src/bindings/libregexp.nim +++ b/src/bindings/libregexp.nim @@ -17,3 +17,5 @@ proc lre_exec*(capture: ptr ptr uint8, bc_buf: ptr uint8, cbuf: ptr uint8, opaque: pointer): cint {.importc: "lre_exec", header: lreheader.} proc lre_get_capture_count*(bc_buf: ptr uint8): cint {.importc: "lre_get_capture_count", header: lreheader.} + +proc lre_get_flags*(bc_buf: ptr uint8): cint {.importc: "lre_get_flags", header: lreheader.} |