[Solved] SimpleSchema undefined (no RegEx): Trouble using simpl-schema package

Simple question - I am trying to migrate from SimpleSchema (the meteor package) to the NPM package (simpl-schema) + collection2-core

both by aldeed.

I keep getting this error on the server:
TypeError: Cannot read property ‘RegEx’ of undefined

thrown where I have a schema defined like this:

xyz:{
    type: String,
    regEx: SimpleSchema.RegEx.Id,
    optional:true
},

Check to make sure you are importing SimpleSchema properly

import SimpleSchema from 'simpl-schema';

I got this error too because I was trying to do:

import { SimpleSchema } from 'simpl-schema';

Dropped the braces and it imported correctly.