Permalink
Browse files

Accommodate comment on pull request.

  • Loading branch information...
1 parent 0d3e89c commit 1a56eead630d049f3725b5122cc84a632c69e090 keita committed Feb 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/twitter/Regex.java
@@ -113,7 +113,7 @@
public static final int AUTO_LINK_HASHTAGS_GROUP_TAG = 3;
public static final Pattern HASHTAG_MATCH_END = Pattern.compile("^(?:[##]|://)");
- public static final Pattern AUTO_LINK_USERNAMES_OR_LISTS = Pattern.compile("([^a-z0-9_!#$%&*]|^|RT:?)(" + AT_SIGNS + "+)([a-z0-9_]{1,20})(/[a-z][a-z0-9_\\-]{0,24})?", Pattern.CASE_INSENSITIVE);
+ public static final Pattern AUTO_LINK_USERNAMES_OR_LISTS = Pattern.compile("([^a-z0-9_!#$%&*" + AT_SIGNS_CHARS + "]|^|RT:?)(" + AT_SIGNS + "+)([a-z0-9_]{1,20})(/[a-z][a-z0-9_\\-]{0,24})?", Pattern.CASE_INSENSITIVE);
public static final int AUTO_LINK_USERNAME_OR_LISTS_GROUP_BEFORE = 1;
public static final int AUTO_LINK_USERNAME_OR_LISTS_GROUP_AT = 2;
public static final int AUTO_LINK_USERNAME_OR_LISTS_GROUP_USERNAME = 3;

0 comments on commit 1a56eea

Please sign in to comment.