Issue #2 remove regexp g option