*Original *https://mega.nz/#!mA8tz9Ut.... *New*: https://mega.nz/file/mA8tz9Ut..... the new format doesn't pass the assert so is skipped as invalid: file_regex = g_regex_new("^https?://mega(?:\\.co)?\\.nz/#!([a-z0-9_-]{8})!([a-z0-9_-]{43})$", G_REGEX_CASELESS, 0, NULL); g_assert(file_regex != NULL); Thanks.