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

Use PCRE for builtins.match and builtins.split #7336

Closed
wants to merge 3 commits into from

Commits on Nov 23, 2022

  1. Configuration menu
    Copy the full SHA
    5107b26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd88fd1 View commit details
    Browse the repository at this point in the history
  3. prim_match: support named captures

    nix-repl> builtins.match "(?<date>(?<year>(\\d\\d)?\\d\\d) - (?<month>\\d\\d) - (?<day>\\d\\d))" "2020 - 10 - 10"
    { date = "2020 - 10 - 10"; day = "10"; month = "10"; year = "2020"; }
    yorickvP committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    74bc0b2 View commit details
    Browse the repository at this point in the history