From: Max F. <mf...@w3...> - 2003-01-17 13:16:57
|
Alex Schroeder <al...@em...> writes: > Bah -- got confused. We use erc-button-url-regexp, which has the > value > > "\\b\\(\\(www\\.\\|\\(s?https?\\|ftp\\|file\\|gopher\\|news\\|telnet\\|wais\\|mailto\\):\\)\\(//[-a-zA-Z0-9_.]+:[0-9]*\\)?\\([-a-zA-Z0-9_=!?#$@~`%&*+|\\/:;.,]\\|\\w\\)+\\([-a-zA-Z0-9_=#$@~`%&*+|\\/]\\|\\w\\)\\)" > > So fixing it will be a bit harder. ;) > > Suggestions? Perhaps removing the lonely \\w at the end will be > enough? Yes, and removing the \\b at the beginning and the other instances of \\w, as well as the 2 '|' in the character sets seems to work fine on various examples I tested. I also removed a pair of brackets that weren't necessary: "\\(www\\.\\|\\(s?https?\\|ftp\\|file\\|gopher\\|news\\|telnet\\|wais\\|mailto\\):\\)\\(//[-a-zA-Z0-9_.]+:[0-9]*\\)?[-a-zA-Z0-9_=!?#$@~`%&*+\\/:;.,]+[-a-zA-Z0-9_=#$@~`%&*+\\/]" Max. |