Server-Side Regex Broken?

Wappler Version: 4.9.1
Operating System: windows 10

Expected behavior

What do you think should happen?

The pattern should be found according to the regex validation on the server end.

Actual behavior

What actually happens?

Gives me the service side error message I have set.

How to reproduce

regex3

NodeJS SPA
I have a regex expression in the database api, the form is correct, the variable matches the form name, the regex expression works as shown. But regex will not work no matter what regex pattern I use.

(I have several other patterns that also will not work for other fields)

Not sure what I’m doing wrong here if anything, pulling my hair out for a few hours trying a lot of stuff with no luck. Also I have no errors on my console debug.

I’ve tried text fields, I’ve tried number fields for front-end and back-end, no difference.