1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00
profanity/src
Michael Vetter 9f08cd44a6 Adjust regex to match URLs
First I tried with g_uri_parse() and g_uri_to_string() but then I
learned that GUri validation API is only for things that are part of a
proper URL.

Then used `g_utf8_strchr()` to cut the string at `>` since they are
sometimes enclosed in `<>`.

Thanks to @sjaeckel for providing a proper regex from
https://stackoverflow.com/questions/43588699/regex-for-matching-any-url-character

Fix https://github.com/profanity-im/profanity/issues/1877
2023-09-05 10:24:45 +02:00
..
command Fix spaces in /privacy description 2023-08-04 08:39:20 +02:00
config Fix my email address 2023-07-31 16:51:58 +02:00
event ox: correctly recognize ox encrypted carbons 2023-08-25 08:24:53 +02:00
omemo Cleanup g_strfreev() to auto_gcharv 2023-07-13 17:05:07 +02:00
otr g_free() to auto_gfree, introduce auto_guchar 2023-07-13 17:04:59 +02:00
pgp Cleanup g_strfreev() to auto_gcharv 2023-07-13 17:05:07 +02:00
plugins Cleanup g_strfreev() to auto_gcharv 2023-07-13 17:05:07 +02:00
tools Don't crash when using /plugins install disconnected 2023-08-28 07:55:29 +02:00
ui Adjust regex to match URLs 2023-09-05 10:24:45 +02:00
xmpp Display headline sender 2023-08-11 15:56:26 +02:00
chatlog.c Fix my email address 2023-07-31 16:51:58 +02:00
chatlog.h Split log.c into log.c and chatlog.c 2022-06-28 20:08:38 +02:00
common.c Add helper function to create version string 2023-07-25 20:58:15 +02:00
common.h Add helper function to create version string 2023-07-25 20:58:15 +02:00
database.c Fix my email address 2023-07-31 16:51:58 +02:00
database.h Fix my email address 2023-07-31 16:51:58 +02:00
log.c Fix my email address 2023-07-31 16:51:58 +02:00
log.h minor changes 2023-01-18 20:02:46 +01:00
main.c Add helper function to create version string 2023-07-25 20:58:15 +02:00
profanity.c Add helper function to create version string 2023-07-25 20:58:15 +02:00
profanity.h Update copyright year 2023-01-10 10:37:25 +01:00