dataflow/api/routes
Paul Trowbridge 1ed08755c1 Add g flag support and fix regex aggregation in extract rules
- Switch apply_transformations from regexp_match to regexp_matches with
  ORDINALITY, enabling the g flag to return all occurrences as a JSONB array
- Aggregate matches directly to JSONB in lateral subquery to avoid
  text[][] type errors when subscripting array_agg results
- Pass flags as proper third argument to regexp_matches/regexp_replace
  instead of inline (?flags) prefix — the only way g works correctly
- Apply same fix to preview and test endpoints in rules.js
- Add migrate_tps.sql script for migrating data from TPS to Dataflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29 22:48:50 -04:00
..
mappings.js Add multi-capture regex, computed view fields, collapsible rules, and live preview 2026-03-29 16:37:15 -04:00
records.js Initial commit: dataflow data transformation tool 2026-03-28 00:44:13 -04:00
rules.js Add g flag support and fix regex aggregation in extract rules 2026-03-29 22:48:50 -04:00
sources.js Add multi-capture regex, computed view fields, collapsible rules, and live preview 2026-03-29 16:37:15 -04:00