Filter constructor

const Filter(
  1. RegExp regExp
)

Implementation

const Filter(this.regExp);