Skip to content

regex.h not available on Windows #224

@daniel-starke

Description

@daniel-starke

816-opt in the develop branch uses regex.h from libtre which is no longer maintained.
I suggest moving to PCRE2 which provides a drop-in replacement with pcre2posix.h and libpcre2-posix.a.
Note, however, that PCRE2 requires PCRE2_STATIC to be defined when linking statically.
I suggest defining this in the Makefile if Windows was detected as target and include pcre2posix.h instead of regex.h in helpers.h if PCRE2_STATIC was defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions