Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make extract_urls regex more portable #622

Merged
merged 1 commit into from Apr 8, 2019
Merged

Make extract_urls regex more portable #622

merged 1 commit into from Apr 8, 2019

Conversation

dmgk
Copy link
Contributor

@dmgk dmgk commented Apr 8, 2019

\b word boundary syntax doesn't work on FreeBSD which uses [[:<:]], and [[:<:]] doesn't seem to be supported by glibc. Make extract_urls regex more portable by using \< for word boundary which is supported by both Linux (tested on Arch) and FreeBSD [1] (and probably by OpenBSD too [2], untested)

[1] https://www.freebsd.org/cgi/man.cgi?query=re_format&sektion=7&n=1
[2] https://man.openbsd.org/re_format.7

@tsipinakis
Copy link
Member

Thanks!

Ignore the failing CI build, something in Arch is leaking memory.

@tsipinakis tsipinakis merged commit 6cab789 into dunst-project:master Apr 8, 2019
@tsipinakis tsipinakis added this to the 1.4.1 milestone Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants