feat(regexp): add type params

type will be equal to E, W or I.
Does not break linter api.