not_this|(but_this)
... is interesting. But since it returns the match in a submatch I would say the \K approach is better: (?:not_this.*?)*\Kbut_this
Because usually when you try hard to accomplish something with a regex, you do not have the luxury to say "And then please disregard the match and look at the submatch instead". docker run -it --rm debian:10-slim /bin/bash
apt update
apt install -y git python3-pip --no-install-recommends
pip3 install git+https://github.com/bsdz/calcengine.git#master
Result: "This package requires Rust >=1.41.0." This package requires Rust >=1.41.0. you can use pip install -r requirements.txt
I don't see a requirements.txt file. /username/1234
your posts are here: /newsfeed/1234
I don't think users want to get "robbed" of their posts like this.
Now that I try it, it indeed does not work.
Maybe the author reads this and can look at it.