Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/regex
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.7.0
Choose a base ref
...
head repository: rust-lang/regex
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.7.1
Choose a head ref
  • 4 commits
  • 6 files changed
  • 3 contributors

Commits on Nov 28, 2022

  1. impl: optimize replacen loop

    The previous implementation didn't bail out of the replace
    loop when the limit was reached until one more than the
    total number of 'find' operations had completed. By moving
    the limit check to the end of the loop body, we execute only
    the number of 'find' operations that is necessary, instead of
    one extra.
    
    This optimization only applies to 'replacen' calls with a limit
    not equal to '0'. That includes 'replace' but not 'replace_all'.
    
    PR #930
    xkr47 authored Nov 28, 2022
    Configuration menu
    Copy the full SHA
    ac2d0e1 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2022

  1. ci: harden configuration

    This makes it so the permissions are locked down by default. The threat
    model here is something like, "what happens if an authorized party gains
    control of the non-PR CI configuration somehow."
    
    To be honest, I (BurntSushi) don't quite understand how that might
    happen without also the ability to set the permissions itself. But
    locking permissions down by default does seem like a good and sensible
    thing to do.
    
    Closes #932
    sashashura authored and BurntSushi committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    9330ea5 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. changelog: 1.7.1

    BurntSushi committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    98c1b63 View commit details
    Browse the repository at this point in the history
  2. 1.7.1

    BurntSushi committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    a9b2e02 View commit details
    Browse the repository at this point in the history
Loading