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

Provide ability to search using regular expressions in addition to substitutions #39

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

coordt
Copy link
Member

@coordt coordt commented Jul 14, 2023

No description provided.

- Search strings are treated as regular expressions after the initial substitution
@coordt coordt linked an issue Jul 14, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Merging #39 (449b70a) into master (e0731c3) will increase coverage by 0.19%.
The diff coverage is 98.07%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   93.11%   93.31%   +0.19%     
==========================================
  Files          15       15              
  Lines        1017     1047      +30     
  Branches      231      234       +3     
==========================================
+ Hits          947      977      +30     
  Misses         44       44              
  Partials       26       26              
Flag Coverage Δ
python-3.10 93.31% <98.07%> (+0.20%) ⬆️
python-3.11 93.31% <98.07%> (+0.19%) ⬆️
python-3.8 93.31% <98.07%> (+0.19%) ⬆️
python-3.9 93.31% <98.07%> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
bumpversion/files.py 94.28% <97.77%> (+1.69%) ⬆️
bumpversion/__init__.py 100.00% <100.00%> (ø)
bumpversion/cli.py 98.26% <100.00%> (+0.03%) ⬆️
bumpversion/config.py 89.34% <100.00%> (+0.25%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

- Global and individual file configurations available for `no_regex`
- Command-line flag `--no-regex` flag added for `bump` and `replace` sub-commands
@coordt coordt requested a review from kdeldycke July 24, 2023 13:51
@coordt coordt merged commit f6b3872 into master Aug 3, 2023
@coordt coordt deleted the 35-regex-search-and-replace branch August 3, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Date-based search and replace
1 participant