Bump arrow from 1.2.2 to 1.2.3 (#1829)

* Bump arrow from 1.2.2 to 1.2.3

Bumps [arrow](https://github.com/arrow-py/arrow) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/arrow-py/arrow/releases)
- [Changelog](https://github.com/arrow-py/arrow/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/arrow-py/arrow/compare/1.2.2...1.2.3)

---
updated-dependencies:
- dependency-name: arrow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update arrow==1.2.3

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

[skip ci]
This commit is contained in:
dependabot[bot] 2022-11-12 17:18:11 -08:00 committed by GitHub
commit 58aab24c28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 540 additions and 67 deletions

View file

@ -1384,7 +1384,7 @@ class Arrow:
search_string = search_string.format(r"\d+")
# Create search pattern and find within string
pattern = re.compile(fr"(^|\b|\d){search_string}")
pattern = re.compile(rf"(^|\b|\d){search_string}")
match = pattern.search(input_string)
# If there is no match continue to next iteration
@ -1426,12 +1426,12 @@ class Arrow:
# Sign logic
future_string = locale_obj.future
future_string = future_string.format(".*")
future_pattern = re.compile(fr"^{future_string}$")
future_pattern = re.compile(rf"^{future_string}$")
future_pattern_match = future_pattern.findall(input_string)
past_string = locale_obj.past
past_string = past_string.format(".*")
past_pattern = re.compile(fr"^{past_string}$")
past_pattern = re.compile(rf"^{past_string}$")
past_pattern_match = past_pattern.findall(input_string)
# If a string contains the now unit, there will be no relative units, hence the need to check if the now unit