7 Commits
Author SHA1 Message Date
BRADSEC 67b5a0e37f Insert literal replacement text verbatim when use_regex is off (review SE-2)
re.sub always parses the replacement as a template, so a backslash in
the replacement (e.g. C:\1) raised PatternError even in literal mode.
Also drop an unused import and align js import paths with the
documented two-level extension path. Bump to 2.0.13.
2026-07-03 10:52:03 +10:00
BRADSEC a0807f3d2d feat: add V3 (comfy_api) dual-API wrappers; clear error on invalid regex; tooltips; bump 2.0.11
v3_nodes.py builds a V3 io.ComfyNode per V1 class from its INPUT_TYPES/
RETURN_TYPES and delegates execute() to the V1 method (no forked logic),
including the StringPreview OUTPUT_NODE ui.PreviewText path. comfy_entrypoint
exported import-guarded. StringMultiReplace use_regex now raises a clear
ValueError naming the bad pattern instead of a raw re.error. Added tooltips
to strip/multi_replace boolean flags. Verified ComfyUI 0.25.0.
2026-06-20 19:30:49 +10:00
BRADSEC 45ae089fdc fix: declare input_string in Python INPUT_TYPES for Nodes 2.0 compatibility (Issue #12) 2026-03-09 16:29:12 +10:00
BRADSEC 5d645958bd feat: add sort_by_length and use_regex options to StringMultiReplace (Issue #11) 2026-03-03 20:25:08 +10:00
BRADSEC c8b45da72e Fix whitespace preservation in replacement strings (Issue #8) 2025-12-20 15:45:27 +10:00
BRADSEC ba182e390e Add new conditional append node Issue #5 recoommendation. Minor fixes and changes Issues #4 and #6. 2025-12-02 20:59:02 +10:00
WanderingMouse 7e1ea79cef Rename replace node to avoid conflict with ComfyUI base component 2025-06-09 00:53:28 -05:00