[us-commits] [ehb54/ultrascan3] 00cf2e: Fix two invalid us_somo regex patterns breaking US...

emre brookes noreply at github.com
Sun Jul 19 13:05:08 MDT 2026


  Branch: refs/heads/ehb54-issue-975
  Home:   https://github.com/ehb54/ultrascan3
  Commit: 00cf2edadbc180e095d0db4efe197d2fb86d2862
      https://github.com/ehb54/ultrascan3/commit/00cf2edadbc180e095d0db4efe197d2fb86d2862
  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