diff options
-rw-r--r-- | xxxterm.c | 2 | ||||
-rw-r--r-- | xxxterm.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c index 28f69bd..4d5dffb 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -345,7 +345,7 @@ struct karg { #define XT_MAX_UNDO_CLOSE_TAB (32) #define XT_RESERVED_CHARS "$&+,/:;=?@ \"<>#%%{}|^~[]`" #define XT_PRINT_EXTRA_MARGIN 10 -#define XT_URL_REGEX ("^[[:blank:]]*[^[:blank:]]*([[:alnum:]-]+.)+[[:alnum:]-][^[:blank:]]*[[:blank:]]*$") +#define XT_URL_REGEX ("^[[:blank:]]*[^[:blank:]]*([[:alnum:]-]+\\.)+[[:alnum:]-][^[:blank:]]*[[:blank:]]*$") #define XT_INVALID_MARK (-1) /* XXX this is a double, maybe use something else, like a nan */ /* colors */ diff --git a/xxxterm.conf b/xxxterm.conf index e194e60..d6d8edc 100644 --- a/xxxterm.conf +++ b/xxxterm.conf @@ -28,7 +28,7 @@ # show_statusbar = 0 # session_autosave = 0 # guess_search = 1 -# url_regex = ^[[:blank:]]*[^[:blank:]]*([[:alnum:]-]+.)+[[:alnum:]-][^[:blank:]]*[[:blank:]]*$ +# url_regex = ^[[:blank:]]*[^[:blank:]]*([[:alnum:]-]+\.)+[[:alnum:]-][^[:blank:]]*[[:blank:]]*$ # enable_spell_checking = 1 # spell_check_languages = en_US # xterm_workaround = 1 |