Skip to content

Commit 85c9e6d

Browse files
committed
Update dependencies
1 parent ebf1176 commit 85c9e6d

File tree

3 files changed

+17
-19
lines changed

3 files changed

+17
-19
lines changed

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ quart-flask-patch = "*"
2222
aioquic = "*"
2323
psycopg-pool = "*"
2424
psycopg = {extras = ["binary"], version = "*"}
25-
jsonpickle = "*"
2625
hypercorn = {extras = ["h3"], version = "*"}
2726
quart-trio = "*"
27+
jsonpickle = "*"
2828

2929
[dev-packages]
3030
pytest-flask = "*"

Pipfile.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/regex_test.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,8 @@ def test_phoneNumberRegex(data, expected):
127127
]
128128
@pytest.mark.parametrize("data, expected", CPP_CSHARP_REGEX_TEST_CASES)
129129
def test_cpp_csharpRegex(data, expected):
130-
"""
131-
https://stackoverflow.com/questions/79435236/how-to-match-c-c-or-c
132-
The ?: inside the group (?:\+\+|#) just make the group non capturing. The (?<!S) and (?!\S) are called lookarounds, and assert that either whitespace or the start/end precedes/follows the match
133-
"""
130+
# https://stackoverflow.com/questions/79435236/how-to-match-c-c-or-c
131+
# The ?: inside the group (?:\+\+|#) just make the group non capturing. The (?<!S) and (?!\S) are called lookarounds, and assert that either whitespace or the start/end precedes/follows the match
134132
cpp_csharp_regex = r"^C(?:\+\+|#)?$"
135133
#cpp_csharp_regex = r"\bC(?:\+\+|#)?(?!\S)" # matches to be the entire input string
136134
assert expected == bool(re.match(cpp_csharp_regex, data)) #If you want to catch these matches perhaps as part of a larger string, with the matches surrounded by whitespace

0 commit comments

Comments
 (0)