Homewrite.as

Reuse mention regex

Authored by matt on Tue, Mar 17, 5:43 PM.

Description

Reuse mention regex

This makes the app less error-prone by avoiding a regexp.MustCompile()
call in the ActivityObject() method, saves CPU work, and reuses code.

Details

Committed
mattTue, Mar 17, 5:43 PM
Parents
rWF97aec9c158de: Fix error / info logging around AP mentions
Branches
Unknown
Tags
Unknown