[us-commits] [ehb54/ultrascan3] ec623d: Fix two invalid us_somo regex patterns breaking US...
emre brookes
noreply at github.com
Sun Jul 19 14:44:56 MDT 2026
Branch: refs/heads/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>
Commit: 8fc78be3a6ca3abe1dac66484e802358129f3536
https://github.com/ehb54/ultrascan3/commit/8fc78be3a6ca3abe1dac66484e802358129f3536
Author: emre brookes <ehb54 at users.noreply.github.com>
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:
-----------
Merge pull request #491 from ehb54/ehb54-issue-975-somo-dev
Fix two invalid us_somo regex patterns breaking US_RegexTest (#975) [somo-dev]
Compare: https://github.com/ehb54/ultrascan3/compare/d9d2b46041a5...8fc78be3a6ca
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