Twitastic Twitter Enhancer

By Mattias Hising Last update Jan 13, 2009 — Installed 388 times.

hashtag dtecting bug

in
Subscribe to hashtag dtecting bug 1 post, 1 voice

in4matics User

Hi Mattias,

There is a bug with detecting the hashtag if it is the last word in a tweet.
So this regular expression:
/#([^ ]+)/g
should be replaced with:
/#(\w+)/g

Kind regards.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel