Change access modifiers
Fixes #16 by redefining the parameters and return types.

Further some exceptions for the regular expressions are now done dynamically.

Everything's fine again. :) :heart: