Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


hairy1

3332 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

#183626 23-Oct-2015 14:56
Send private message

Hi Mauricio,

Would it be be possible to have GZ pick up user "mentions" and notify that user that they have been tagged?

Quite often some-one will mention that (for example) @stevebiddle or @johnr knows the answer to a problem....

Cheers, Matt.




My views (except when I am looking out their windows) are not those of my employer.


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
freitasm
BDFL - Memuneh
79251 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1412863 23-Oct-2015 15:03
Send private message

If someone gives me a regex to find a single word after the @ I can look at it.





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup




danfaulknor
933 posts

Ultimate Geek

Trusted
Prodigi

  #1413028 23-Oct-2015 21:38
Send private message

/\@(\w+\b)/ig

Don't ask me if it works on ASP but it works in Python..

Matches a word of one or more characters between an @ and the end of the first word. The i at the end makes it case insensitive and the g makes it match more than one.

When run on "testing for @danielfaulknor in a thread" it returns "danielfaulknor"

When run on the OP, it returns "stevebiddle" and "johnr"







they/them

 

Prodigi - Optimised IT Solutions
WebOps/DevOps, Managed IT, Hosting and Internet/WAN.


freitasm
BDFL - Memuneh
79251 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1413054 23-Oct-2015 23:12
Send private message

Thanks. Passed a regex tester. Will work on this.






Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup




freitasm
BDFL - Memuneh
79251 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1413055 23-Oct-2015 23:15
Send private message

danielfaulknor: /\@(\w+\b)/ig


It also catches "freitasm@geekzone.co.nz" (matches geekzone). Ideally it would ignore if there's a period that is followed by another character different than space too...





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


freitasm
BDFL - Memuneh
79251 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1413133 24-Oct-2015 11:39
Send private message

Thanks @hairy1 for the suggestion and @danielfaulknor for the code. It worked on ASP VBScript as /\@(\w+\b)

Summoning @johnr, did you get this message?






Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


freitasm
BDFL - Memuneh
79251 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1413134 24-Oct-2015 11:41
Send private message

Ok, now it should work for @johnr - I have changed something here.

John, are you there?





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


freitasm
BDFL - Memuneh
79251 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1413136 24-Oct-2015 11:53
Send private message

Testing with @sbiddle, @tonyhughes, @scottjpalmer... Did you get this message?





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
tonyhughes
Hawkes Bay
8476 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

  #1413138 24-Oct-2015 11:56
Send private message

Yip







hairy1

3332 posts

Uber Geek

ID Verified
Trusted
Lifetime subscriber

  #1413143 24-Oct-2015 12:09
Send private message

Thanks very much @freitasm for the new feature! I think @sbiddle and @scottpalmer are tied up with a serious function today!




My views (except when I am looking out their windows) are not those of my employer.


freitasm
BDFL - Memuneh
79251 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1413161 24-Oct-2015 13:28
Send private message

They are indeed. As @ajobbins, @cisconz, @chris021, @nate...






Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


chris021
227 posts

Master Geek

Trusted

  #1413163 24-Oct-2015 13:30
Send private message

Msg recieved.

nate
6473 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

  #1413164 24-Oct-2015 13:31
Send private message

Me too

Brumfondl
1187 posts

Uber Geek

Trusted

  #1413183 24-Oct-2015 13:47
Send private message

I think this thread is the epitome of what I love about Geekzone :)





johnr
19282 posts

Uber Geek
Inactive user


  #1413185 24-Oct-2015 14:03
Send private message

Awesome it works

gzt

gzt
17104 posts

Uber Geek

Lifetime subscriber

  #1413186 24-Oct-2015 14:20
Send private message

@gzt test message.

 1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.