Regex error on add to group action

When I try and use a Wizard Field (Group) to apply conditionality in the Add to Group part, it doesn’t actually apply the changes I’m seeking.

Example

https://healthforum.nz/admin/wizards/wizard/welcome_step_2
If I use ‘=~’ then it crashes with a Doctype error:

cc @Nathan