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

emre brookes noreply at github.com
Sun Jul 19 14:44:27 MDT 2026


  Branch: refs/heads/main
  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>


  Commit: 4b3e14634cdc79f28ec75abd4093e49b82247b94
      https://github.com/ehb54/ultrascan3/commit/4b3e14634cdc79f28ec75abd4093e49b82247b94
  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 #490 from ehb54/ehb54-issue-975

Fix two invalid us_somo regex patterns breaking US_RegexTest (#975)


Compare: https://github.com/ehb54/ultrascan3/compare/cace172cd5fe...4b3e14634cdc

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