fix internet permission regex (fix #58)