Add a robust Youtube URL regexp matcher.

Also included some test cases.

Signed-off-by: piyo <piyo@users.sf.net>
Use erc-youtube-regex-extract-videoid for both client-side verification and API requests.

Signed-off-by: piyo <piyo@users.sf.net>
Merge pull request #3 from piyo/robust-regex

Robust regex
Titles with non-unibyte characters are properly encoded and inserted.

No more octal garbled text.
Includes a smart quote test case and Japanese text test case.

Signed-off-by: piyo <piyo@users.sf.net>
Merge pull request #4 from piyo/non-unibyte-title

Titles with non-unibyte characters are properly encoded and inserted.