Skip to content

Commit

Permalink
new test
Browse files Browse the repository at this point in the history
  • Loading branch information
AsbjoernJC committed May 15, 2024
1 parent 0e83ac3 commit 6dfe0a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions experiments/regex/dynamic_re_interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ def generate_regex_from_lower_bound(lower_bound):
return regex

# Example usage:
regex = generate_regex_from_lower_bound(83)
regex = generate_regex_from_lower_bound(100)

# Test the regex
test_number = "85"
test_number = "101"
if regex.match(test_number):
print(f"{test_number} is larger and thus allowed")
else:
Expand Down

0 comments on commit 6dfe0a9

Please sign in to comment.