Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENHANCED: use pcre2 library instead of pcre1 #11

Merged
merged 1 commit into from
Mar 25, 2022

Commits on Mar 25, 2022

  1. ENHANCED: use pcre2 library instead of pcre1

      - Issue SWI-Prolog#2
      - Numerous small bug fixes and enhancements (e.g., handling of
        duplicate options, capture_type, error checking).
      - This commit takes advantage of refactoring that was
        done on the pcre1 code to make it easier to handle the
        pcre2 options (which are both more numerous and have a different
        underlying API).
      - Added new pcre2 options
      - Removed some obsolete options, preserving backwards compatibility
        where possible
      - The meaning of optimise(true) has changed - it now calls
        the JIT compiler
      - Renamed bsr(...) and newline(...) options to bsr2(...) and newline2(...)
        because the pcre2 interface has changed
      - compat(javascript) is replaced by alt_bsux(true) and extra_alt_bsux(true)
      - Code improvements:
        use `uint32_t` wherever possible instead of `unsigned` or `int`
      - Does not use the new pcre2_substitute() for re_replace/{4,5},
        re_split/{3,4}, re_foldl/6 (however, some improvements have been
        made to the APIs for these).
    - Added test cases
    kamahen committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    1ace340 View commit details
    Browse the repository at this point in the history