[us-commits] [ehb54/ultrascan3] ec623d: Fix two invalid us_somo regex patterns breaking US...
emre brookes
noreply at github.com
Sun Jul 19 13:05:23 MDT 2026
Branch: refs/heads/ehb54-issue-975-somo-dev
Home: https://github.com/ehb54/ultrascan3
Commit: ec623de279dc648f1abba5ee7ee53b827f45d335
https://github.com/ehb54/ultrascan3/commit/ec623de279dc648f1abba5ee7ee53b827f45d335
Author: ehb54 <brookes at uthscsa.edu>
Date: 2026-07-19 (Sun, 19 Jul 2026)
Changed paths:
M us_somo/develop/src/us_saxs_util.cpp
M us_somo/develop/us_saxs_cmds_t/main.cpp
Log Message:
-----------
Fix two invalid us_somo regex patterns breaking US_RegexTest
- us_saxs_util.cpp: remove dead, commented-out rxdigits pattern that was
missing three closing parens (superseded by the working "^\s*\d").
The regex-validation test scrapes commented lines too, so it flagged it.
- us_saxs_cmds_t/main.cpp:1262: "^.*((\|/)" had an extra '(' and used
"\\|" (regex \| = literal pipe) instead of a backslash; replace with
the path-separator class "^.*[\\\\/]" to strip the directory prefix.
- us_saxs_cmds_t/main.cpp:1266: same \|-vs-backslash bug ("^(\|/)"); fix
to "^[\\\\/]" so it detects a leading path separator. Not caught by the
test (it compiles), but the same latent defect.
Fixes ehb54/ultrascan-tickets#975
Co-Authored-By: Claude Fable 5 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/ultrascan3/settings/notifications
More information about the us-commits
mailing list