#320 - enhance regex extension