A simple to use drop in replacement for UILabel for iOS 7 and above that highlights links such as URLs, twitter style usernames and hashtags and makes them touchable.
MIT License
470
stars
132
forks
source link
regex to not detect hashtag after a character not space #35
I am trying to scan for hashtags from NSStrings in Objective-C and I am using regex.
I made a test status on Facebook / Instagram to see what are the valid hashtags as it is where
I am trying to scan for hashtags from NSStrings in Objective-C and I am using regex. I made a test status on Facebook / Instagram to see what are the valid hashtags as it is where
Now KILabel.m (getRangeForHashTags line : 437)
My Solution (It's works fine. when not space)
Thanks.