Branch: refs/heads/document-messages Author: Nick Treleaven nick.treleaven@btinternet.com Committer: Nick Treleaven nick.treleaven@btinternet.com Date: Fri, 30 Dec 2011 16:12:17 Commit: e4d2e31b82e175179df468958582ce211f536e09 https://github.com/geany/geany/commit/e4d2e31b82e175179df468958582ce211f536e...
Log Message: ----------- Simplify encoding regex using \s now we have GRegex
Modified Paths: -------------- src/encodings.c
Modified: src/encodings.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -43,7 +43,7 @@ #include "ui_utils.h"
/* <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> */ -#define PATTERN_HTMLMETA "<meta[ \t\n\r\f]+http-equiv[ \t\n\r\f]*=[ \t\n\r\f]*"?content-type"?[ \t\n\r\f]+content[ \t\n\r\f]*=[ \t\n\r\f]*"text/x?html;[ \t\n\r\f]*charset=([a-z0-9_-]+)"[ \t\n\r\f]*/?>" +#define PATTERN_HTMLMETA "<meta\s+http-equiv\s*=\s*"?content-type"?\s+content\s*=\s*"text/x?html;\s*charset=([a-z0-9_-]+)"\s*/?>" /* " geany_encoding=utf-8 " or " coding: utf-8 " */ #define PATTERN_CODING "coding[\t ]*[:=][\t ]*"?([a-z0-9-]+)"?[\t ]*"
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).