Compass does not allow to input special character

For lab3, I tried to type the following using Compass aggregation $match

{awards:{$regex:/^Won\s+\d+\s+Oscar/}}}

The above syntax was not recognized. The same syntax works in MongoDB shell.

Please advise whether this is a known issue and any workaround to make $regex work in Compass.