{"version":"2.1.304","anchor":"workflow-scripts-ambiguous-regex-vs-division-is-rejec","canonical_anchor":"workflow-scripts-ambiguous-regex-vs-division-is-rejec","heading":"Workflow scripts with an ambiguous slash are refused","tier":"notice","area":"Workflows","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304\/e\/workflow-scripts-ambiguous-regex-vs-division-is-rejec","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304","markdown":"### Workflow scripts with an ambiguous slash are refused\n\nA workflow script is not run if a '\/' could mean either a pattern or division; the error says to end the statement with ';'\n\n**Unclear.** It is not known whether this check is switched on by default.\n\n**What**\n\nClaude Code now checks workflow scripts before running them. If a `\/` could be read either as the start of a regular expression (a text pattern) or as a division, the script is not run. The error message tells you to end the statement with `;`. This check sits behind a remotely controlled switch.\n\n**Why**\n\nClaude Code rewrites workflow scripts slightly before running them. This check stops a script from being misread after that rewrite and doing something you did not intend.\n\n- Area: Workflows\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}