Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kivikakk/libpcre.zig
Zig bindings to libpcre
https://github.com/kivikakk/libpcre.zig
regular-expression zig
Last synced: about 2 months ago
JSON representation
Zig bindings to libpcre
- Host: GitHub
- URL: https://github.com/kivikakk/libpcre.zig
- Owner: kivikakk
- License: mit
- Created: 2020-08-20T04:03:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T09:40:58.000Z (about 2 months ago)
- Last Synced: 2024-05-02T05:59:43.508Z (about 2 months ago)
- Topics: regular-expression, zig
- Language: Zig
- Homepage: https://hrzn.ee/kivikakk/libpcre.zig
- Size: 36.1 KB
- Stars: 18
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zig - kivikakk/libpcre.zig - Bindings to libpcre for Perl-compatible regular expressions. (Parser / Package managers)
- awesome-zig - libpcre.zig🗒️Zig bindings to libpcre
- awesome-zig - kivikakk/libpcre.zig - compatible regular expressions (Parser)
- awesome-zig - kivikakk/libpcre.zig
README
# [libpcre.zig](https://hrzn.ee/kivikakk/libpcre.zig)
![Build status](https://github.com/kivikakk/libpcre.zig/workflows/Zig/badge.svg)
To build, add to your `build.zig`:
```zig
const linkPcre = @import("vendor/libpcre.zig/build.zig").linkPcre;
try linkPcre(exe);
exe.addPackagePath("libpcre", "vendor/libpcre.zig/src/main.zig");
```Supported operating systems:
* Linux: `apt install pkg-config libpcre3-dev`
* macOS: `brew install pkg-config pcre`
* Windows: install [vcpkg](https://github.com/microsoft/vcpkg#quick-start-windows), `vcpkg integrate install`, `vcpkg install pcre --triplet x64-windows-static`