Please sign in to comment.
Updated regex to allow for more language codes including numeric regions
Even though it is not RFC 2616 compliant, some browsers (e.g. Google Chrome) send HTTP_ACCEPT_LANGUAGE headers that include numeric regions like those in BCP 47.
- Loading branch information...
Showing with 6 additions and 1 deletion.