[bugfix] Change regex to detect meta information
[bugfix] Change regex to detect meta information

- enable meta with charset but without content-type
- enable quotes with charset information

Bug: T298006
Change-Id: Ie1c56848d5485ee91a32c6c0bc75264c018ba05b

wikimedia/pywikibot-core,wikimedia/pywikibot-core