---
title: "Dialogflow CX SPLIT and SUBSTITUTE use RE2 regex syntax, and imports reject access-token auth — Cloud Changelog"
description: "In Dialogflow CX, the $sys.func.SPLIT and $sys.func.SUBSTITUTE system functions use RE2 regular expression syntax instead of Java regular expressions. Loo…"
url: "https://cloudchangelog.com/gcp/2026-12-02-dialogflow-breaking"
updated: "2026-12-02"
---

[Back to feed](https://cloudchangelog.com/feed/2026-W49)

December 2, 2026 · Google CloudBreaking

Action needed

# Dialogflow CX SPLIT and SUBSTITUTE use RE2 regex syntax, and imports reject access-token auth

- [Dialogflow](https://cloudchangelog.com/products/gcp/dialogflow)
- [AI and machine learning](https://cloudchangelog.com/search?q=ai-ml)

## What changed

**Dialogflow CX:** SPLIT and SUBSTITUTE use RE2 regex; imports reject access-token auth; updates require re-supplying credentials.

Deprecation or retirement

In Dialogflow CX, the [`$sys.func.SPLIT`](https://docs.cloud.google.com/dialogflow/cx/docs/reference/system-functions#func-split) and [`$sys.func.SUBSTITUTE`](https://docs.cloud.google.com/dialogflow/cx/docs/reference/system-functions#func-substitute) system functions use [RE2 regular expression syntax](https://github.com/google/re2/wiki/Syntax) instead of [Java regular expressions](https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html). Lookarounds, backreferences, and the `\Z` anchor aren't supported (use `\z` instead), and patterns that compile to more than 10,000 instructions (such as large nested counted repetitions) fail with an error.

In Dialogflow CX, agent, flow, playbook, and tool import and restore operations (`ImportAgent`, `RestoreAgent`, `ImportFlow`, `ImportTools`, `ImportPlaybook`, and `RestoreToolVersion`) and full-replacement `Tools.UpdateTool` calls with an empty update mask reject new Dialogflow Service Agent access-token authentication configurations (see [webhook authentication](https://docs.cloud.google.com/dialogflow/cx/docs/concept/webhook#auth) and [tool authentication](https://docs.cloud.google.com/dialogflow/cx/docs/concept/playbook/tool#openapi_tool_api_authentication)), matching `CreateWebhook` and `CreateTool`. Existing resources that already use access-token authentication and `Backups.RestoreBackup` operations remain unaffected.

In Dialogflow CX, updating a webhook, tool, or environment webhook override endpoint with [`Webhooks.UpdateWebhook`](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.webhooks/patch), [`Tools.UpdateTool`](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.tools/patch), or [`Environments.UpdateEnvironment`](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.environments/patch) requires re-supplying or clearing stored inline credentials (passwords, API keys, bearer tokens, or OAuth client secrets) instead of keeping `"REDACTED"` values. Additionally, `Tools.UpdateTool`, `Tools.CreateToolVersion`, and `Tools.RestoreToolVersion` redact stored tool credentials from API responses.

Text from the Google Cloud release notes, licensed under CC BY 4.0. Source: Google Cloud release notes.

Get the week’s Google Cloud changes in one email

Your email address

Free, every Monday: only what changed in Google Cloud that week. We email you a link to confirm.

[See last week’s digest](https://cloudchangelog.com/digests/weekly-2026-W48#provider-gcp)

Free. Unsubscribe any time.

[Source: Google Cloud release notes](https://docs.cloud.google.com/release-notes#December_02_2026)

[All Dialogflow changes](https://cloudchangelog.com/products/gcp/dialogflow)

## Contact

- [YouTube](https://www.youtube.com/@cloudchangelog)
