Skip to content

Commit 2605ec2

Browse files
Potential fix for pull request finding 'Duplication in regular expression character class'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent c0098b0 commit 2605ec2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rc/control/bookkeeping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# ── Precompiled regex patterns (module-level, compiled once at import) ──
2121

2222
_RE_MAX_FRAG_SIZE = re.compile(
23-
r"\n[^\n#]*max_fragment_size_bytes\s*:\s*([0-9\.exabcdefABCDEF]+)")
23+
r"\n[^\n#]*max_fragment_size_bytes\s*:\s*([0-9\.xabcdefABCDEF]+)")
2424
_RE_MAX_EVT_SIZE_SEARCH = re.compile(
2525
r"\n[^\n#]*max_event_size_bytes\s*:\s*[0-9\.e]+")
2626
_RE_MAX_EVT_SIZE_VALUE = re.compile(

0 commit comments

Comments
 (0)