Skip to content

Commit

Permalink
Fix loklak#1457: Remove hash from hashtag list (loklak#1462)
Browse files Browse the repository at this point in the history
  • Loading branch information
singhpratyush authored and mariobehling committed Aug 16, 2017
1 parent 6c7e562 commit 579dbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/loklak/objects/MessageEntry.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class MessageEntry extends AbstractObjectEntry {
// left boundary must be space since the @ is itself a boundary
public final static Pattern USER_PATTERN = Pattern.compile("(?:[ (]|^)(@..*?)(?:\\b|$)");
// left boundary must be a space since the # is itself a boundary
final static Pattern HASHTAG_PATTERN = Pattern.compile("(?:[ (]|^)(#..*?)(?:\\b|$)");
final static Pattern HASHTAG_PATTERN = Pattern.compile("(?:[ (]|^)#(..*?)(?:\\b|$)");
public final static Pattern A_END_TAG = Pattern.compile("</a>");
public final static Pattern QUOT_TAG = Pattern.compile("&quot;");
public final static Pattern AMP_TAG = Pattern.compile("&amp;");
Expand Down

0 comments on commit 579dbd9

Please sign in to comment.