Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Do not extract URL if preceded by '$'.

  • Loading branch information...
commit 33f27a2323631e17afe585a76ded02e5339fabc8 1 parent d2155cf
@keitaf keitaf authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/com/twitter/Regex.java
View
2  src/com/twitter/Regex.java
@@ -20,7 +20,7 @@
private static final String HASHTAG_ALPHA_NUMERIC = "[" + HASHTAG_ALPHA_NUMERIC_CHARS +"]";
/* URL related hash regex collection */
- private static final String URL_VALID_PRECEEDING_CHARS = "(?:[^\\-/\"'!=A-Z0-9_@@##.\u202A-\u202E]|^)";
+ private static final String URL_VALID_PRECEEDING_CHARS = "(?:[^\\-/\"'!=A-Z0-9_@@$##.\u202A-\u202E]|^)";
private static final String URL_VALID_CHARS = "[\\p{Alnum}" + LATIN_ACCENTS_CHARS + "]";
private static final String URL_VALID_SUBDOMAIN = "(?:(?:" + URL_VALID_CHARS + "[" + URL_VALID_CHARS + "\\-_]*)?" + URL_VALID_CHARS + "\\.)";
Please sign in to comment.
Something went wrong with that request. Please try again.